Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Jakob <johjakob>2021-03-22 16:54:33 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-03-22 18:05:10 +0300
commit4b9c9a7bea4a004a2b1d95e0a41c90b05637dca9 (patch)
treeb5b1f5ed6e01db5e985f0ea49f02e023dd70d73e /release/darwin
parent3e44221b57d105cd93599201fa1a5d6734232d87 (diff)
Fix missing document icons on macOS 10.4 and earlier
Re-adds a legacy document icon for macOS 10.14 Mojave that is consistent with the system generated document icon on macOS 11 Big Sur. It uses the old-style document sheet icon, but includes the file extension underneath the Blender icon (unlike the previous legacy document icon that was removed in D10267). Adds the missing description for the exported type identifier. Finder now correctly displays “Blender File” instead of “data” for Blender files. Differential Revision: https://developer.blender.org/D10746
Diffstat (limited to 'release/darwin')
-rw-r--r--release/darwin/Blender.app/Contents/Info.plist4
-rw-r--r--release/darwin/Blender.app/Contents/Resources/Blender_Legacy_Document_Icon.icnsbin0 -> 311747 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/release/darwin/Blender.app/Contents/Info.plist b/release/darwin/Blender.app/Contents/Info.plist
index 67b786bd933..9b2d5248d8e 100644
--- a/release/darwin/Blender.app/Contents/Info.plist
+++ b/release/darwin/Blender.app/Contents/Info.plist
@@ -11,6 +11,8 @@
<array>
<string>blend</string>
</array>
+ <key>CFBundleTypeIconFile</key>
+ <string>Blender_Legacy_Document_Icon.icns</string>
<key>CFBundleTypeName</key>
<string>Blender File</string>
<key>CFBundleTypeOSTypes</key>
@@ -62,6 +64,8 @@
</array>
<key>UTTypeIdentifier</key>
<string>org.blenderfoundation.blender.file</string>
+ <key>UTTypeDescription</key>
+ <string>Blender File</string>
<key>UTTypeIcons</key>
<dict>
<key>UTTypeIconName</key>
diff --git a/release/darwin/Blender.app/Contents/Resources/Blender_Legacy_Document_Icon.icns b/release/darwin/Blender.app/Contents/Resources/Blender_Legacy_Document_Icon.icns
new file mode 100644
index 00000000000..67713105fe2
--- /dev/null
+++ b/release/darwin/Blender.app/Contents/Resources/Blender_Legacy_Document_Icon.icns
Binary files differ