From b605b0b9b398ec519f3e0768f98e119c29d3f947 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Wed, 29 Jan 2025 22:52:42 -0600 Subject: [PATCH] windows msi fix --- .github/workflows/generator-windows.yml | 6 ++---- .github/workflows/pre137-generator-windows.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/generator-windows.yml b/.github/workflows/generator-windows.yml index 750eecb..bc0a59e 100644 --- a/.github/workflows/generator-windows.yml +++ b/.github/workflows/generator-windows.yml @@ -542,10 +542,8 @@ jobs: continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | - if ("${{ inputs.appname }}" -ne "rustdesk") { - $myappname = "${{ inputs.appname }}" -replace '\s','_' - cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" - } + $myappname = "${{ inputs.appname }}" -replace '\s','_' + cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" -ErrorAction SilentlyContinue pushd ./res/msi python preprocess.py --app-name "$myappname" --arp -d ../../rustdesk nuget restore msi.sln diff --git a/.github/workflows/pre137-generator-windows.yml b/.github/workflows/pre137-generator-windows.yml index 903cc19..a0c83ff 100644 --- a/.github/workflows/pre137-generator-windows.yml +++ b/.github/workflows/pre137-generator-windows.yml @@ -540,10 +540,8 @@ jobs: continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | - if ("${{ inputs.appname }}" -ne "rustdesk") { - $myappname = "${{ inputs.appname }}" -replace '\s','_' - cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" - } + $myappname = "${{ inputs.appname }}" -replace '\s','_' + cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" -ErrorAction SilentlyContinue pushd ./res/msi python preprocess.py --app-name "$myappname" --arp -d ../../rustdesk nuget restore msi.sln