From 9231aab1195c5ab365b1bc520fdb7af775c0c9f2 Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Thu, 29 Jul 2021 23:15:38 +0300
Subject: [macOS] Update MIME codes and file type names to match
"dist/linux/org.godotengine.Godot.xml" definitions. Add missing "shader" type
icon.
---
misc/dist/document_icons/shader.svg | 1 +
misc/dist/document_icons/shader_extra_small.svg | 1 +
misc/dist/document_icons/shader_small.svg | 1 +
misc/dist/osx_tools.app/Contents/Info.plist | 36 +++++++++++++++++----
.../osx_tools.app/Contents/Resources/Shader.icns | Bin 0 -> 162062 bytes
5 files changed, 33 insertions(+), 6 deletions(-)
create mode 100644 misc/dist/document_icons/shader.svg
create mode 100644 misc/dist/document_icons/shader_extra_small.svg
create mode 100644 misc/dist/document_icons/shader_small.svg
create mode 100644 misc/dist/osx_tools.app/Contents/Resources/Shader.icns
diff --git a/misc/dist/document_icons/shader.svg b/misc/dist/document_icons/shader.svg
new file mode 100644
index 0000000000..30515cde3d
--- /dev/null
+++ b/misc/dist/document_icons/shader.svg
@@ -0,0 +1 @@
+
diff --git a/misc/dist/document_icons/shader_extra_small.svg b/misc/dist/document_icons/shader_extra_small.svg
new file mode 100644
index 0000000000..b9c9cd4811
--- /dev/null
+++ b/misc/dist/document_icons/shader_extra_small.svg
@@ -0,0 +1 @@
+
diff --git a/misc/dist/document_icons/shader_small.svg b/misc/dist/document_icons/shader_small.svg
new file mode 100644
index 0000000000..e20bca9fdf
--- /dev/null
+++ b/misc/dist/document_icons/shader_small.svg
@@ -0,0 +1 @@
+
diff --git a/misc/dist/osx_tools.app/Contents/Info.plist b/misc/dist/osx_tools.app/Contents/Info.plist
index 8e70d4c203..923bc7312a 100644
--- a/misc/dist/osx_tools.app/Contents/Info.plist
+++ b/misc/dist/osx_tools.app/Contents/Info.plist
@@ -84,7 +84,7 @@
UTTypeReferenceURL
UTTypeDescription
- Godot Scene
+ Godot Engine scene
UTTypeIconFile
Scene.icns
UTTypeConformsTo
@@ -97,6 +97,7 @@
scn
tscn
+ escn
public.mime-type
application/x-godot-scene
@@ -108,7 +109,7 @@
UTTypeReferenceURL
UTTypeDescription
- Godot Script
+ GDScript script
UTTypeIconFile
GDScript.icns
UTTypeConformsTo
@@ -122,7 +123,7 @@
gd
public.mime-type
- text/x-gdscript
+ application/x-gdscript
@@ -131,7 +132,7 @@
UTTypeReferenceURL
UTTypeDescription
- Godot Resource
+ Godot Engine resource
UTTypeIconFile
Resource.icns
UTTypeConformsTo
@@ -149,13 +150,36 @@
application/x-godot-resource
+
+ UTTypeIdentifier
+ public.gdshader
+ UTTypeReferenceURL
+
+ UTTypeDescription
+ Godot Engine shader
+ UTTypeIconFile
+ Shader.icns
+ UTTypeConformsTo
+
+ public.script
+
+ UTTypeTagSpecification
+
+ public.filename-extension
+
+ gdshader
+
+ public.mime-type
+ application/x-godot-shader
+
+
UTTypeIdentifier
public.godot
UTTypeReferenceURL
UTTypeDescription
- Godot Project
+ Godot Engine project
UTTypeIconFile
Project.icns
UTTypeConformsTo
@@ -169,7 +193,7 @@
godot
public.mime-type
- text/x-godot-project
+ application/x-godot-project
diff --git a/misc/dist/osx_tools.app/Contents/Resources/Shader.icns b/misc/dist/osx_tools.app/Contents/Resources/Shader.icns
new file mode 100644
index 0000000000..a76e648a1a
Binary files /dev/null and b/misc/dist/osx_tools.app/Contents/Resources/Shader.icns differ
--
cgit v1.2.3