From 21df5cf717bae750022cd10fb2b105e3e929835f Mon Sep 17 00:00:00 2001 From: sumit-m <33051892+sumit-m@users.noreply.github.com> Date: Wed, 29 Jul 2026 19:14:11 +0530 Subject: [PATCH] fix(dev): add .exe to Windows sidecar stub paths Tauri's externalBin validation expects binaries/-.exe on Windows, so every recipe depending on _ensure-sidecar-stubs fails there. Fixes #2492 Signed-off-by: sumit-m <33051892+sumit-m@users.noreply.github.com> --- Justfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 64a1f36daf..ec89e60ff3 100644 --- a/Justfile +++ b/Justfile @@ -154,9 +154,11 @@ _ensure-sidecar-stubs: #!/usr/bin/env bash set -euo pipefail TARGET=$(rustc -vV | sed -n 's|host: ||p') + EXT="" + [[ "$TARGET" == *windows* ]] && EXT=".exe" mkdir -p desktop/src-tauri/binaries for bin in buzz-acp buzz-agent buzz-dev-mcp git-credential-nostr buzz; do - touch "desktop/src-tauri/binaries/${bin}-${TARGET}" + touch "desktop/src-tauri/binaries/${bin}-${TARGET}${EXT}" done # Ensure Docker dev services (Postgres, Redis, etc.) are running and healthy