Skip to content

Commit

Permalink
[macOS] Update MIME codes and file type names to match "dist/linux/or…
Browse files Browse the repository at this point in the history
…g.godotengine.Godot.xml" definitions. Add missing "shader" type icon.
  • Loading branch information
bruvzg committed Sep 20, 2021
1 parent 275aa4e commit 9231aab
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 6 deletions.
1 change: 1 addition & 0 deletions misc/dist/document_icons/shader.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions misc/dist/document_icons/shader_extra_small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions misc/dist/document_icons/shader_small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 30 additions & 6 deletions misc/dist/osx_tools.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<key>UTTypeReferenceURL</key>
<string></string>
<key>UTTypeDescription</key>
<string>Godot Scene</string>
<string>Godot Engine scene</string>
<key>UTTypeIconFile</key>
<string>Scene.icns</string>
<key>UTTypeConformsTo</key>
Expand All @@ -97,6 +97,7 @@
<array>
<string>scn</string>
<string>tscn</string>
<string>escn</string>
</array>
<key>public.mime-type</key>
<string>application/x-godot-scene</string>
Expand All @@ -108,7 +109,7 @@
<key>UTTypeReferenceURL</key>
<string></string>
<key>UTTypeDescription</key>
<string>Godot Script</string>
<string>GDScript script</string>
<key>UTTypeIconFile</key>
<string>GDScript.icns</string>
<key>UTTypeConformsTo</key>
Expand All @@ -122,7 +123,7 @@
<string>gd</string>
</array>
<key>public.mime-type</key>
<string>text/x-gdscript</string>
<string>application/x-gdscript</string>
</dict>
</dict>
<dict>
Expand All @@ -131,7 +132,7 @@
<key>UTTypeReferenceURL</key>
<string></string>
<key>UTTypeDescription</key>
<string>Godot Resource</string>
<string>Godot Engine resource</string>
<key>UTTypeIconFile</key>
<string>Resource.icns</string>
<key>UTTypeConformsTo</key>
Expand All @@ -149,13 +150,36 @@
<string>application/x-godot-resource</string>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>public.gdshader</string>
<key>UTTypeReferenceURL</key>
<string></string>
<key>UTTypeDescription</key>
<string>Godot Engine shader</string>
<key>UTTypeIconFile</key>
<string>Shader.icns</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.script</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>gdshader</string>
</array>
<key>public.mime-type</key>
<string>application/x-godot-shader</string>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>public.godot</string>
<key>UTTypeReferenceURL</key>
<string></string>
<key>UTTypeDescription</key>
<string>Godot Project</string>
<string>Godot Engine project</string>
<key>UTTypeIconFile</key>
<string>Project.icns</string>
<key>UTTypeConformsTo</key>
Expand All @@ -169,7 +193,7 @@
<string>godot</string>
</array>
<key>public.mime-type</key>
<string>text/x-godot-project</string>
<string>application/x-godot-project</string>
</dict>
</dict>
</array>
Expand Down
Binary file not shown.

0 comments on commit 9231aab

Please sign in to comment.