windows msi fix

This commit is contained in:
Bryan Gerlach
2025-01-29 16:00:33 -06:00
parent b5a29a4df3
commit cb1c5a984e
2 changed files with 4 additions and 4 deletions

View File

@@ -542,10 +542,10 @@ jobs:
continue-on-error: true continue-on-error: true
if: env.UPLOAD_ARTIFACT == 'true' if: env.UPLOAD_ARTIFACT == 'true'
run: | run: |
if [[ "${{ inputs.appname }}" != "rustdesk" ]]; then if ("${{ inputs.appname }}" != "rustdesk") {
$myappname = "${{ inputs.appname }}" -replace '\s','_' $myappname = "${{ inputs.appname }}" -replace '\s','_'
cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe"
fi }
pushd ./res/msi pushd ./res/msi
python preprocess.py --app-name "$myappname" --arp -d ../../rustdesk python preprocess.py --app-name "$myappname" --arp -d ../../rustdesk
nuget restore msi.sln nuget restore msi.sln

View File

@@ -540,10 +540,10 @@ jobs:
continue-on-error: true continue-on-error: true
if: env.UPLOAD_ARTIFACT == 'true' if: env.UPLOAD_ARTIFACT == 'true'
run: | run: |
if [[ "${{ inputs.appname }}" != "rustdesk" ]]; then if ("${{ inputs.appname }}" != "rustdesk") {
$myappname = "${{ inputs.appname }}" -replace '\s','_' $myappname = "${{ inputs.appname }}" -replace '\s','_'
cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe"
fi }
pushd ./res/msi pushd ./res/msi
python preprocess.py --app-name "$myappname" --arp -d ../../rustdesk python preprocess.py --app-name "$myappname" --arp -d ../../rustdesk
nuget restore msi.sln nuget restore msi.sln