[macOS] Fix file associations (for *.scn, *.tscn and project.godot).

This commit is contained in:
bruvzg
2018-11-10 00:37:44 +02:00
parent d4c62e714c
commit ccafdb5d05
3 changed files with 83 additions and 20 deletions

View File

@ -38,31 +38,82 @@
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>scn</string>
<string>SCN</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>Godot.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>scene/x-scn</string>
</array>
<key>CFBundleTypeName</key>
<string>Godot Scene</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>SCN </string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSIsAppleDefaultForType</key>
<true/>
<key>LSItemContentTypes</key>
<array>
<string>org.godotengine.scn</string>
<string>public.tscn</string>
</array>
<key>NSExportableTypes</key>
<array>
<string>public.tscn</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSItemContentTypes</key>
<array>
<string>public.godot</string>
</array>
<key>NSExportableTypes</key>
<array>
<string>public.godot</string>
</array>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>public.tscn</string>
<key>UTTypeReferenceURL</key>
<string></string>
<key>UTTypeDescription</key>
<string>Godot Scene</string>
<key>UTTypeIconFile</key>
<string>Document.icns</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>com.apple.ostype</key>
<string>TSCN</string>
<key>public.filename-extension</key>
<array>
<string>scn</string>
<string>tscn</string>
</array>
<key>public.mime-type</key>
<string>scene/x-scn</string>
</dict>
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>public.godot</string>
<key>UTTypeReferenceURL</key>
<string></string>
<key>UTTypeDescription</key>
<string>Godot Project</string>
<key>UTTypeIconFile</key>
<string>Document.icns</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>com.apple.ostype</key>
<string>GODP</string>
<key>public.filename-extension</key>
<array>
<string>godot</string>
</array>
<key>public.mime-type</key>
<string>project/x-godot</string>
</dict>
</dict>
</array>
</dict>

Binary file not shown.