VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Build/Resources/MacOSX
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-18 12:11:17 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-26 00:00:04 +0100
commita8fea1d64358793691418089552b6bb9ab32d189 (patch)
tree41abedc95b66d9bcda5c4ee8ef61e34535121e8a /src/Build/Resources/MacOSX
parent3d978c31a7fd37d633ca2baf749b2e9f187a0b8f (diff)
downloadVeraCrypt-a8fea1d64358793691418089552b6bb9ab32d189.tar.gz
VeraCrypt-a8fea1d64358793691418089552b6bb9ab32d189.zip
MacOSX: Make VeraCrypt default handler of .hc and .tc files on OSX and add custom icon to these files on Finder.
Diffstat (limited to 'src/Build/Resources/MacOSX')
-rw-r--r--src/Build/Resources/MacOSX/Info.plist.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/Build/Resources/MacOSX/Info.plist.xml b/src/Build/Resources/MacOSX/Info.plist.xml
index 15430f6d..c62d2d7f 100644
--- a/src/Build/Resources/MacOSX/Info.plist.xml
+++ b/src/Build/Resources/MacOSX/Info.plist.xml
@@ -7,6 +7,53 @@
<key>CFBundleIdentifier</key>
<string>org.idrix.VeraCrypt</string>
+
+ <key>UTExportedTypeDeclarations</key>
+ <array>
+ <dict>
+ <key>UTTypeIdentifier</key>
+ <string>org.idrix.veracrypt.hc</string>
+
+ <key>UTTypeDescription</key>
+ <string>VeraCrypt Container File</string>
+
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.data</string>
+ </array>
+
+ <key>UTTypeTagSpecification</key>
+ <dict>
+ <key>public.filename-extension</key>
+ <array>
+ <string>hc</string>
+ <string>tc</string>
+ </array>
+
+ <key>public.mime-type</key>
+ <string>application/veracrypt</string>
+ </dict>
+ </dict>
+ </array>
+
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeIconFile</key>
+ <string>VeraCrypt_Volume.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>VeraCrypt Container File</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ <key>LSHandlerRank</key>
+ <string>Owner</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <!-- my app supports files with my custom extension (see UTExportedTypeDeclarations) -->
+ <string>org.idrix.veracrypt.hc</string>
+ </array>
+ </dict>
+ </array>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>