From 724d1fa94bfe552dd04f5ee4ba75f6625e0c3ce3 Mon Sep 17 00:00:00 2001 From: skykooler Date: Thu, 19 Dec 2024 00:17:52 -0500 Subject: [PATCH] fix powershell again --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b613ef0..65f164e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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