fix powershell again

This commit is contained in:
skykooler 2024-12-19 00:17:52 -05:00 committed by GitHub
parent 0bd7438c18
commit 724d1fa94b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -72,10 +72,10 @@ jobs:
$WINDOWS_VERSION = $VERSION $WINDOWS_VERSION = $VERSION
} }
Copy-Item src-tauri/tauri.conf.json -Destination src-tauri/tauri.windows.conf.json Copy-Item src-tauri/tauri.conf.json -Destination src-tauri/tauri.windows.conf.json
# Modify the version in tauri.windows.conf.json # Modify the version in tauri.windows.conf.json
(Get-Content src-tauri/tauri.windows.conf.json) | ForEach-Object { (Get-Content src-tauri/tauri.windows.conf.json) | ForEach-Object {
$_ -replace '"version": ".*"', '"version": "' + $WINDOWS_VERSION + '"' $_ -replace '"version": ".*"', ('"version": "' + $WINDOWS_VERSION + '"')
} | Set-Content src-tauri/tauri.windows.conf.json } | Set-Content src-tauri/tauri.windows.conf.json