Merge pull request #45871 from Riteo/improve-mime-types

General improvements to the MIME source file
This commit is contained in:
Rémi Verschelde 2021-02-24 13:04:55 +01:00 committed by GitHub
commit 3357c4d28c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 8 deletions

View file

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-godot-project">
<comment>Godot Engine project</comment>
<icon name="x-godot-project" />
<glob pattern="*.godot"/>
</mime-type>
<mime-type type="application/x-godot-resource">
<comment>Godot Engine resource</comment>
<icon name="x-godot-resource" />
<glob pattern="*.res"/>
<glob pattern="*.tres"/>
</mime-type>
<mime-type type="application/x-godot-scene">
<comment>Godot Engine scene</comment>
<icon name="x-godot-scene" />
<glob pattern="*.scn"/>
<glob pattern="*.tscn"/>
<glob pattern="*.escn"/>
</mime-type>
<mime-type type="application/x-gdscript">
<comment>GDScript script</comment>
<icon name="x-gdscript" />
<glob pattern="*.gd"/>
</mime-type>
</mime-info>

View file

@ -1,8 +0,0 @@
<?xml version="1.0"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-godot-project">
<comment>Godot Engine project</comment>
<icon name="godot" />
<glob pattern="*.godot" weight="100" />
</mime-type>
</mime-info>