chore: rename packages/tauri -> packages/desktop

This commit is contained in:
Adam 2025-12-22 20:01:16 -06:00 committed by Aiden Cline
commit 11878623bb
134 changed files with 38 additions and 38 deletions

View file

@ -0,0 +1,13 @@
import { $ } from "bun"
import { copyBinaryToSidecarFolder, getCurrentSidecar } from "./utils"
const RUST_TARGET = Bun.env.TAURI_ENV_TARGET_TRIPLE
const sidecarConfig = getCurrentSidecar(RUST_TARGET)
const binaryPath = `../opencode/dist/${sidecarConfig.ocBinary}/bin/opencode`
await $`cd ../opencode && bun run build --single`
await copyBinaryToSidecarFolder(binaryPath, RUST_TARGET)