fix(desktop): Windows support for PTY and cross-platform build scripts (#6508)
This commit is contained in:
parent
1c25f1fae0
commit
c131dd0829
4 changed files with 5 additions and 24 deletions
|
|
@ -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`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue