Procházet zdrojové kódy

Merge branch 'dev' of https://github.com/sst/opencode into dev

David Hill před 4 měsíci
rodič
revize
5ffc1617fe
1 změnil soubory, kde provedl 1 přidání a 4 odebrání
  1. 1 4
      packages/tauri/scripts/predev.ts

+ 1 - 4
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)