mirror of
https://github.com/cryptomator/cryptomator.git
synced 2025-02-20 02:03:07 +00:00
Win installer: use different icon file for Cryptomator files and make c9r/c9s file extensions non executing
This commit is contained in:
parent
3a2420dd91
commit
869407cded
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -461,7 +461,6 @@ 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
|
||||
|
BIN
dist/win/resources/Cryptomator-Vault.ico
vendored
Normal file
BIN
dist/win/resources/Cryptomator-Vault.ico
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 164 KiB |
@ -1,4 +0,0 @@
|
||||
mime-type=application/vnd.cryptomator.encrypted
|
||||
extension=c9r,c9s
|
||||
description=Cryptomator Encrypted Data
|
||||
icon=resources/Cryptomator.ico
|
2
dist/win/resources/FAvaultFile.properties
vendored
2
dist/win/resources/FAvaultFile.properties
vendored
@ -1,4 +1,4 @@
|
||||
mime-type=application/vnd.cryptomator.vault
|
||||
extension=cryptomator
|
||||
description=Cryptomator Vault File
|
||||
icon=resources/Cryptomator.ico
|
||||
icon=resources/Cryptomator-Vault.ico
|
15
dist/win/resources/main.wxs
vendored
15
dist/win/resources/main.wxs
vendored
@ -50,10 +50,25 @@
|
||||
<!-- Standard required root -->
|
||||
<Directory Id="TARGETDIR" Name="SourceDir"/>
|
||||
|
||||
<!-- Non-Opening ProgID -->
|
||||
<DirectoryRef Id="INSTALLDIR">
|
||||
<Component Win64="yes" Id="nonStartingProgID" >
|
||||
<File Id="IconFileForEncryptedData" KeyPath="yes" Source="$(env.JP_WIXWIZARD_RESOURCES)\Cryptomator-Vault.ico" Name="encrypted.ico"></File>
|
||||
<ProgId Id="Cryptomator.Encrypted.1" Description="Cryptomator Encrypted Data" Icon="IconFileForEncryptedData" IconIndex="0">
|
||||
<Extension Id="c9r" Advertise="no" ContentType="application/vnd.cryptomator.encrypted">
|
||||
<MIME ContentType="application/vnd.cryptomator.encrypted" Default="yes"></MIME>
|
||||
</Extension>
|
||||
<Extension Id="c9s" Advertise="no" ContentType="application/vnd.cryptomator.encrypted"/>
|
||||
</ProgId>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
|
||||
<Feature Id="DefaultFeature" Title="!(loc.MainFeatureTitle)" Level="1">
|
||||
<ComponentGroupRef Id="Shortcuts"/>
|
||||
<ComponentGroupRef Id="Files"/>
|
||||
<ComponentGroupRef Id="FileAssociations"/>
|
||||
<!-- Ref to additional ProgIDs -->
|
||||
<ComponentRef Id="nonStartingProgID" />
|
||||
</Feature>
|
||||
|
||||
<?ifdef JpInstallDirChooser ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user