summaryrefslogtreecommitdiffhomepage
path: root/packages/tauri/scripts
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2025-12-11 22:20:22 +0800
committerBrendan Allan <[email protected]>2025-12-11 22:20:22 +0800
commit5e7d908dc9d1ecb00f7b7aee4b8b68e26232c50a (patch)
treef8703cba9cc20eaa4c08de5e277678ae246553a3 /packages/tauri/scripts
parenteb6596cb97b83e161adf50d96306836eaad4a02c (diff)
downloadopencode-5e7d908dc9d1ecb00f7b7aee4b8b68e26232c50a.tar.gz
opencode-5e7d908dc9d1ecb00f7b7aee4b8b68e26232c50a.zip
tauri: always build cli in predev
Diffstat (limited to 'packages/tauri/scripts')
-rw-r--r--packages/tauri/scripts/predev.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/tauri/scripts/predev.ts b/packages/tauri/scripts/predev.ts
index bd9320a4a..6b69a3ae5 100644
--- a/packages/tauri/scripts/predev.ts
+++ b/packages/tauri/scripts/predev.ts
@@ -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)