fix powershell again

This commit is contained in:
skykooler
2024-12-19 00:17:52 -05:00
committed by GitHub
parent 0bd7438c18
commit 724d1fa94b
+2 -2
View File
@@ -72,10 +72,10 @@ jobs:
$WINDOWS_VERSION = $VERSION
}
Copy-Item src-tauri/tauri.conf.json -Destination src-tauri/tauri.windows.conf.json
# Modify the version in tauri.windows.conf.json
(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