From 2c8d5d3d5d95749dca02966b90b2bb79b82ad9f9 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 19 Jul 2023 16:30:08 +0200 Subject: [PATCH] update ci script --- .github/workflows/win-exe.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index 8a66e524b..88858e600 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -260,9 +260,14 @@ jobs: shell: pwsh - name: Download WinFsp run: | - $winfspUrl = (Select-String -Path ".\dist\win\bundle\resources\winFspMetaData.wxi" -Pattern '<\?define BundledWinFspDownloadLink="(.+)".*?>').Matches.Groups[1].Value + $winfspUrl = (Select-String -Path ".\dist\win\bundle\resources\winfsp.url" -Pattern 'URL=(https://.+)$').Matches.Groups[1].Value curl --output dist/win/bundle/resources/winfsp.msi -L $winfspUrl shell: pwsh + - name: Download Legacy-WinFsp uninstaller + run: | + $winfspUninstallerUrl = (Select-String -Path ".\dist\win\bundle\resources\winfsp-uninstaller.url" -Pattern 'URL=(https://.+)$').Matches.Groups[1].Value + curl --output dist/win/bundle/resources/winfsp-uninstaller.exe -L $winfspUninstallerUrl + shell: pwsh - name: Compile to wixObj file run: > "${WIX}/bin/candle.exe" dist/win/bundle/bundleWithWinfsp.wxs