diff --git a/.github/workflows/generator-windows.yml b/.github/workflows/generator-windows.yml index c2489b5..7e36700 100644 --- a/.github/workflows/generator-windows.yml +++ b/.github/workflows/generator-windows.yml @@ -542,10 +542,10 @@ jobs: continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | - if [[ "${{ inputs.appname }}" != "rustdesk" ]]; then + if ("${{ inputs.appname }}" != "rustdesk") { $myappname = "${{ inputs.appname }}" -replace '\s','_' cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" - fi + } 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 cef7fbd..b5d9a23 100644 --- a/.github/workflows/pre137-generator-windows.yml +++ b/.github/workflows/pre137-generator-windows.yml @@ -540,10 +540,10 @@ jobs: continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | - if [[ "${{ inputs.appname }}" != "rustdesk" ]]; then + if ("${{ inputs.appname }}" != "rustdesk") { $myappname = "${{ inputs.appname }}" -replace '\s','_' cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" - fi + } pushd ./res/msi python preprocess.py --app-name "$myappname" --arp -d ../../rustdesk nuget restore msi.sln