mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 03:53:29 +01:00
MacOSX: Make VeraCrypt default handler of .hc and .tc files on OSX and add custom icon to these files on Finder.
This commit is contained in:
parent
3d978c31a7
commit
a8fea1d643
@ -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>
|
||||
|
@ -173,6 +173,7 @@ endif
|
||||
endif
|
||||
|
||||
cp $(PWD)/Resources/Icons/VeraCrypt.icns $(APPNAME).app/Contents/Resources
|
||||
cp $(PWD)/Resources/Icons/VeraCrypt_Volume.icns $(APPNAME).app/Contents/Resources
|
||||
cp "$(PWD)/Release/Setup Files/VeraCrypt User Guide.pdf" $(APPNAME).app/Contents/Resources
|
||||
|
||||
echo -n APPLTRUE >$(APPNAME).app/Contents/PkgInfo
|
||||
|
BIN
src/Resources/Icons/VeraCrypt_Volume.icns
Normal file
BIN
src/Resources/Icons/VeraCrypt_Volume.icns
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user