diff options
author | Markus Goetz <markus@woboq.com> | 2018-04-19 14:34:02 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2018-04-19 20:24:29 +0300 |
commit | b6f1ba38a678ac175fa53da9f087a2ede4ec1298 (patch) | |
tree | 1b8ada43af3d6e3f296e405d2962ad866a526111 /cmake | |
parent | f6a075ef54a3434e758dcddc6a29b218c4f2a247 (diff) |
Placeholders: Support for macOS #6290
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/MacOSXBundleInfo.plist.in | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cmake/modules/MacOSXBundleInfo.plist.in b/cmake/modules/MacOSXBundleInfo.plist.in index fc2be53f7..3a402f1e8 100644 --- a/cmake/modules/MacOSXBundleInfo.plist.in +++ b/cmake/modules/MacOSXBundleInfo.plist.in @@ -32,5 +32,42 @@ <false/> <key>SUPublicDSAKeyFile</key> <string>dsa_pub.pem</string> + +<key>UTExportedTypeDeclarations</key> +<array> + <dict> + <key>UTTypeIdentifier</key> + <string>@APPLICATION_REV_DOMAIN@.placeholder</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <string>@APPLICATION_PLACEHOLDER_SUFFIX@</string> + <key>public.mime-type</key> + <string>application/octet-stream</string> + </dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + </array> + </dict> +</array> + +<key>CFBundleDocumentTypes</key> +<array> + <dict> + <key>CFBundleTypeName</key> + <string>@APPLICATION_EXECUTABLE@ Download Placeholder</string> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>LSHandlerRank</key> + <string>Owner</string> + <key>LSItemContentTypes</key> + <array> + <string>@APPLICATION_REV_DOMAIN@.placeholder</string> + </array> + </dict> +</array> + + </dict> </plist> |