fix(desktop): Windows support for PTY and cross-platform build scripts (#6508)

This commit is contained in:
Luke Parker 2026-01-01 11:18:07 +10:00 committed by GitHub
commit c131dd0829
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 24 deletions

View file

@ -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`