Prechádzať zdrojové kódy

Update build for mac installer:
* use correct mime type for vault metadata
* add icons file for cryptomator files

Armin Schrenk 3 rokov pred
rodič
commit
cc6471840f

+ 1 - 0
.github/workflows/release.yml

@@ -267,6 +267,7 @@ jobs:
       - name: Patch Cryptomator.app
         run: |
           mv appdir/Cryptomator.app Cryptomator.app
+          mv dist/mac/resources/Cryptomator-Vault.icns Cryptomator.app/Contents/Resources/
           sed -i '' "s|###BUNDLE_SHORT_VERSION_STRING###|${VERSION_NO}|g" Cryptomator.app/Contents/Info.plist
           sed -i '' "s|###BUNDLE_VERSION###|${REVISION_NO}|g" Cryptomator.app/Contents/Info.plist
         env:

+ 1 - 1
dist/mac/resources/Info.plist

@@ -84,7 +84,7 @@
         </array>
         <key>public.mime-type</key>
         <array>
-          <string>application/x-vnd.cryptomator.vault-metadata</string>
+          <string>application/vnd.cryptomator.vault</string>
         </array>
       </dict>
     </dict>