From b5a29a4df36ae968ab286168557c5fcb3f7b57d4 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Tue, 28 Jan 2025 21:50:08 -0600 Subject: [PATCH] windows msi fix --- .github/workflows/generator-windows.yml | 2 +- .github/workflows/pre137-generator-windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generator-windows.yml b/.github/workflows/generator-windows.yml index 8a1862e..c2489b5 100644 --- a/.github/workflows/generator-windows.yml +++ b/.github/workflows/generator-windows.yml @@ -542,7 +542,7 @@ jobs: continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | - if [ "${{ inputs.appname }}" != "rustdesk" ] + if [[ "${{ inputs.appname }}" != "rustdesk" ]]; then $myappname = "${{ inputs.appname }}" -replace '\s','_' cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" fi diff --git a/.github/workflows/pre137-generator-windows.yml b/.github/workflows/pre137-generator-windows.yml index e8f14e9..cef7fbd 100644 --- a/.github/workflows/pre137-generator-windows.yml +++ b/.github/workflows/pre137-generator-windows.yml @@ -540,7 +540,7 @@ jobs: continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | - if [ "${{ inputs.appname }}" != "rustdesk" ] + if [[ "${{ inputs.appname }}" != "rustdesk" ]]; then $myappname = "${{ inputs.appname }}" -replace '\s','_' cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" fi