From 39e70ec52680e8ad19e7b0302b5930aa8718e30b Mon Sep 17 00:00:00 2001 From: nessi Date: Tue, 17 Mar 2026 19:26:36 +0100 Subject: [PATCH] fix: use PATH-based cargo-xwin resolution instead of direct wrapper path Update Linux Windows build script to add scripts directory to PATH and reference cargo-xwin by name rather than direct path to wrapper script, improving compatibility with Tauri's runner resolution mechanism. --- desktop-client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-client/package.json b/desktop-client/package.json index a8b17d4..d4a8e94 100644 --- a/desktop-client/package.json +++ b/desktop-client/package.json @@ -10,7 +10,7 @@ "tauri:build": "tauri build", "helper:windows-x64": "bash ./scripts/build-tunnel-helper.sh x86_64-pc-windows-msvc", "helper:macos-arm64": "bash ./scripts/build-tunnel-helper.sh aarch64-apple-darwin", - "tauri:build:windows-x64:linux": "chmod +x ./scripts/cargo-xwin && XWIN_ARCH=x86_64 tauri build --runner ./scripts/cargo-xwin --target x86_64-pc-windows-msvc --config src-tauri/tauri.windows.conf.json" + "tauri:build:windows-x64:linux": "chmod +x ./scripts/cargo-xwin && PATH=\"$PWD/scripts:$PATH\" XWIN_ARCH=x86_64 tauri build --runner cargo-xwin --target x86_64-pc-windows-msvc --config src-tauri/tauri.windows.conf.json" }, "dependencies": { "@tauri-apps/api": "2.10.1",