From c131dd08295a0a061fe603bca6d22af53e335e9b Mon Sep 17 00:00:00 2001 From: Luke Parker <10430890+Hona@users.noreply.github.com> Date: Thu, 1 Jan 2026 11:18:07 +1000 Subject: fix(desktop): Windows support for PTY and cross-platform build scripts (#6508) --- packages/desktop/scripts/predev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/desktop') diff --git a/packages/desktop/scripts/predev.ts b/packages/desktop/scripts/predev.ts index 218215197..3d0cd5e92 100644 --- a/packages/desktop/scripts/predev.ts +++ b/packages/desktop/scripts/predev.ts @@ -6,7 +6,7 @@ const RUST_TARGET = Bun.env.TAURI_ENV_TARGET_TRIPLE const sidecarConfig = getCurrentSidecar(RUST_TARGET) -const binaryPath = `../opencode/dist/${sidecarConfig.ocBinary}/bin/opencode` +const binaryPath = `../opencode/dist/${sidecarConfig.ocBinary}/bin/opencode${process.platform === "win32" ? ".exe" : ""}` await $`cd ../opencode && bun run build --single` -- cgit v1.2.3