forked from bartvdbraak/blender
UI: use system generated document icon on macOS
Adds Document Type Identifier configuration to use a system generated document icon for Blender files on macOS. The system composites the app’s icon and the extension name onto the document sheet icon (new style on macOS 11 Big Sur and old style on macOS 10.15 Catalina and earlier). This is in line with Apple’s Human Interface Guidelines. Removes the previously used file icon because it is no longer needed. Differential Revision: https://developer.blender.org/D10267
This commit is contained in:
parent
e49b702527
commit
54a4eb5e17
@ -11,8 +11,6 @@
|
||||
<array>
|
||||
<string>blend</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>blender file icon.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Blender File</string>
|
||||
<key>CFBundleTypeOSTypes</key>
|
||||
@ -23,6 +21,12 @@
|
||||
<string>Editor</string>
|
||||
<key>LSIsAppleDefaultForType</key>
|
||||
<true/>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>org.blenderfoundation.blender.file</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconSystemGenerated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleExecutable</key>
|
||||
@ -49,5 +53,30 @@
|
||||
<string>NSApplication</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>UTExportedTypeDeclarations</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>UTTypeConformsTo</key>
|
||||
<array>
|
||||
<string>public.data</string>
|
||||
</array>
|
||||
<key>UTTypeIdentifier</key>
|
||||
<string>org.blenderfoundation.blender.file</string>
|
||||
<key>UTTypeIcons</key>
|
||||
<dict>
|
||||
<key>UTTypeIconName</key>
|
||||
<string>Blender File</string>
|
||||
<key>UTTypeIconText</key>
|
||||
<string>blend</string>
|
||||
</dict>
|
||||
<key>UTTypeTagSpecification</key>
|
||||
<dict>
|
||||
<key>public.filename-extension</key>
|
||||
<array>
|
||||
<string>blend</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user