update ci script

This commit is contained in:
Armin Schrenk 2023-07-19 16:30:08 +02:00
parent b76a311ddc
commit 2c8d5d3d5d
No known key found for this signature in database
GPG Key ID: 8F2992163CBBA7FC

View File

@ -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