tauri: always build cli in predev

pull/5396/head
Brendan Allan 2025-12-11 22:20:22 +08:00
parent eb6596cb97
commit 5e7d908dc9
No known key found for this signature in database
GPG Key ID: 41E835AEA046A32E
1 changed files with 1 additions and 4 deletions

View File

@ -9,9 +9,6 @@ const sidecarConfig = getCurrentSidecar(RUST_TARGET)
const binaryPath = `../opencode/dist/${sidecarConfig.ocBinary}/bin/opencode`
if (!(await fs.exists(binaryPath))) {
console.log("opencode binary not found, building...")
await $`cd ../opencode && bun run build --single`
}
await $`cd ../opencode && bun run build --single`
await copyBinaryToSidecarFolder(binaryPath, RUST_TARGET)