From 54a4eb5e17f8de65e94e17ffc269e8c5a6baff15 Mon Sep 17 00:00:00 2001 From: Johannes Jakob Date: Tue, 2 Feb 2021 14:49:54 +0100 Subject: UI: use system generated document icon on macOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- release/darwin/Blender.app/Contents/Info.plist | 33 +++++++++++++++++++-- .../Contents/Resources/blender file icon.icns | Bin 284786 -> 0 bytes 2 files changed, 31 insertions(+), 2 deletions(-) delete mode 100644 release/darwin/Blender.app/Contents/Resources/blender file icon.icns (limited to 'release/darwin') diff --git a/release/darwin/Blender.app/Contents/Info.plist b/release/darwin/Blender.app/Contents/Info.plist index 2408cf363b1..67b786bd933 100644 --- a/release/darwin/Blender.app/Contents/Info.plist +++ b/release/darwin/Blender.app/Contents/Info.plist @@ -11,8 +11,6 @@ blend - CFBundleTypeIconFile - blender file icon.icns CFBundleTypeName Blender File CFBundleTypeOSTypes @@ -23,6 +21,12 @@ Editor LSIsAppleDefaultForType + LSItemContentTypes + + org.blenderfoundation.blender.file + + CFBundleTypeIconSystemGenerated + CFBundleExecutable @@ -49,5 +53,30 @@ NSApplication NSHighResolutionCapable + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.data + + UTTypeIdentifier + org.blenderfoundation.blender.file + UTTypeIcons + + UTTypeIconName + Blender File + UTTypeIconText + blend + + UTTypeTagSpecification + + public.filename-extension + + blend + + + + diff --git a/release/darwin/Blender.app/Contents/Resources/blender file icon.icns b/release/darwin/Blender.app/Contents/Resources/blender file icon.icns deleted file mode 100644 index 2bf78d3eb0d..00000000000 Binary files a/release/darwin/Blender.app/Contents/Resources/blender file icon.icns and /dev/null differ -- cgit v1.2.3