Browse Source

add file associations for msi installer

Armin Schrenk 3 years ago
parent
commit
d319b45fce

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

@@ -455,6 +455,8 @@ jobs:
           --win-dir-chooser
           --resource-dir dist/win/resources
           --license-file dist/win/resources/license.rtf
+          --file-associations dist/win/resources/FAencryptedData.properties
+          --file-associations dist/win/resources/FAvaultFile.properties
         env:
           JP_WIXWIZARD_RESOURCES: ${{ github.workspace }}/dist/win/resources # requires abs path, used in resources/main.wxs
       - name: Codesign MSI

+ 4 - 0
dist/win/resources/FAencryptedData.properties

@@ -0,0 +1,4 @@
+mime-type=application/vnd.cryptomator.encrypted
+extension=c9r,c9s
+description=Cryptomator Encrypted Data
+icon=resources/Cryptomator.ico

+ 4 - 0
dist/win/resources/FAvaultFile.properties

@@ -0,0 +1,4 @@
+mime-type=application/vnd.cryptomator.vault
+extension=cryptomator
+description=Cryptomator Vault File
+icon=resources/Cryptomator.ico