diff --git a/.github/workflows/mac-dmg.yml b/.github/workflows/mac-dmg.yml index d86f6912e..27320dba8 100644 --- a/.github/workflows/mac-dmg.yml +++ b/.github/workflows/mac-dmg.yml @@ -30,10 +30,12 @@ jobs: architecture: x64 output-suffix: x64 xcode-path: '/Applications/Xcode_13.2.1.app' + fuse-lib: macFUSE - os: [self-hosted, macOS, ARM64] architecture: aarch64 output-suffix: arm64 xcode-path: '/Applications/Xcode_13.2.1.app' + fuse-lib: FUSE-T steps: - uses: actions/checkout@v3 - name: Setup Java @@ -177,7 +179,7 @@ jobs: run: | mkdir dmg mv Cryptomator.app dmg - cp dist/mac/dmg/resources/macFUSE.webloc dmg + cp dist/mac/dmg/resources/${{ matrix.fuse-lib }}.webloc dmg ls -l dmg - name: Install create-dmg run: | @@ -188,14 +190,14 @@ jobs: create-dmg --volname Cryptomator --volicon "dist/mac/dmg/resources/Cryptomator-Volume.icns" - --background "dist/mac/dmg/resources/Cryptomator-background.tiff" + --background "dist/mac/dmg/resources/Cryptomator-${{ matrix.fuse-lib }}-background.tiff" --window-pos 400 100 --window-size 640 694 --icon-size 128 --icon "Cryptomator.app" 128 245 --hide-extension "Cryptomator.app" - --icon "macFUSE.webloc" 320 501 - --hide-extension "macFUSE.webloc" + --icon "${{ matrix.fuse-lib }}.webloc" 320 501 + --hide-extension "${{ matrix.fuse-lib }}.webloc" --app-drop-link 512 245 --eula "dist/mac/dmg/resources/license.rtf" --icon ".background" 128 758 diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index 61841a0d8..8e46c8908 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -243,13 +243,14 @@ jobs: shell: pwsh - name: Download WinFsp run: | - $winfspUrl= (Select-String -Path ".\dist\win\bundle\resources\winfsp-download.url" -Pattern 'https:.*').Matches.Value + $winfspUrl = (Select-String -Path ".\dist\win\bundle\resources\winFspMetaData.wxi" -Pattern '<\?define BundledWinFspDownloadLink="(.+)".*?>').Matches.Groups[1].Value curl --output dist/win/bundle/resources/winfsp.msi -L $winfspUrl shell: pwsh - name: Compile to wixObj file run: > "${WIX}/bin/candle.exe" dist/win/bundle/bundleWithWinfsp.wxs -ext WixBalExtension + -ext WixUtilExtension -out dist/win/bundle/ -dBundleVersion="${{ needs.get-version.outputs.semVerNum }}.${{ needs.get-version.outputs.revNum }}" -dBundleVendor="Skymatic GmbH" @@ -261,6 +262,7 @@ jobs: run: > "${WIX}/bin/light.exe" -b dist/win/ dist/win/bundle/bundleWithWinfsp.wixobj -ext WixBalExtension + -ext WixUtilExtension -out installer/unsigned/Cryptomator-Installer.exe - name: Detach burn engine in preparation to sign run: > diff --git a/.idea/compiler.xml b/.idea/compiler.xml index e9c70c10f..1d25cbef3 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -14,10 +14,10 @@