From 0331a97060488214c26e1714367275b056e84c71 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Mon, 13 Jan 2025 15:54:00 -0600 Subject: [PATCH] fix error with spaces in appname for msi build --- .github/workflows/generator-windows.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generator-windows.yml b/.github/workflows/generator-windows.yml index 2002190..fcbaa5f 100644 --- a/.github/workflows/generator-windows.yml +++ b/.github/workflows/generator-windows.yml @@ -519,10 +519,13 @@ jobs: uses: microsoft/setup-msbuild@v2 - name: Build msi + continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | pushd ./res/msi - python preprocess.py --app-name "${{ inputs.appname }}" --arp -d ../../rustdesk + myappname = "${{ inputs.appname }}" + myappname_nospace = "${myappname// /_}" + python preprocess.py --app-name $myappname --arp -d ../../rustdesk nuget restore msi.sln msbuild msi.sln -p:Configuration=Release -p:Platform=x64 /p:TargetVersion=Windows10 cp ./Package/bin/x64/Release/en-us/Package.msi ../../SignOutput/rustdesk-latest.msi