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