tauri: always build cli in predev
parent
eb6596cb97
commit
5e7d908dc9
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue