From dc660af60df94314b0c1bb90009d8a27f019ca24 Mon Sep 17 00:00:00 2001 From: Michael Suchacz <203725896+ibetitsmike@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:21:18 +0000 Subject: [PATCH] fix: use pwsh + object notation for Windows signCommand --- .github/workflows/release.yml | 5 ++++- scripts/sign-windows.ps1 | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 422e5e8..6f5c916 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,7 +92,10 @@ jobs: { "bundle": { "windows": { - "signCommand": "powershell -File scripts/sign-windows.ps1 \"%1\"" + "signCommand": { + "cmd": "pwsh", + "args": ["-File", "scripts/sign-windows.ps1", "%1"] + } } } } diff --git a/scripts/sign-windows.ps1 b/scripts/sign-windows.ps1 index badc3fb..bdb5832 100644 --- a/scripts/sign-windows.ps1 +++ b/scripts/sign-windows.ps1 @@ -1,7 +1,7 @@ # Windows EV code signing script for Tauri signCommand # Uses jsign with GCP Cloud KMS for EV certificate signing # -# Called by Tauri as: powershell -File scripts/sign-windows.ps1 +# Called by Tauri as: pwsh -File scripts/sign-windows.ps1 # # Required environment variables: # JSIGN_PATH - Path to jsign JAR file