Compile the MSIs and DMGs when appname has whitespaces

This commit is contained in:
Nicola Belluti
2025-01-23 10:43:17 +01:00
parent 9e36e549ea
commit 5c89cc6d4e
4 changed files with 6 additions and 4 deletions

View File

@@ -533,9 +533,9 @@ jobs:
continue-on-error: true
if: env.UPLOAD_ARTIFACT == 'true'
run: |
$myappname = "${{ inputs.appname }}" -replace '\s','_'
cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe"
pushd ./res/msi
$myappname = "${{ inputs.appname }}"
$myappname = $myappname -replace '\s','_'
python preprocess.py --app-name "$myappname" --arp -d ../../rustdesk
nuget restore msi.sln
msbuild msi.sln -p:Configuration=Release -p:Platform=x64 /p:TargetVersion=Windows10