summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/scripts/predev.ts
diff options
context:
space:
mode:
authorLuke Parker <[email protected]>2026-01-01 11:18:07 +1000
committerGitHub <[email protected]>2025-12-31 19:18:07 -0600
commitc131dd08295a0a061fe603bca6d22af53e335e9b (patch)
tree34282770897a24694d25a509590154d1682e0491 /packages/desktop/scripts/predev.ts
parent1c25f1fae03d6bd33c8350c7371a1d6c79114ee1 (diff)
downloadopencode-c131dd08295a0a061fe603bca6d22af53e335e9b.tar.gz
opencode-c131dd08295a0a061fe603bca6d22af53e335e9b.zip
fix(desktop): Windows support for PTY and cross-platform build scripts (#6508)
Diffstat (limited to 'packages/desktop/scripts/predev.ts')
-rw-r--r--packages/desktop/scripts/predev.ts2
1 files changed, 1 insertions, 1 deletions
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`