feat(desktop): add opt-in v2 sidecar (#39286)

This commit is contained in:
Brendan Allan 2026-07-28 17:29:27 +08:00 committed by GitHub
commit 9e432a6785
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 264 additions and 57 deletions

View file

@ -1,7 +1,9 @@
import { $ } from "bun"
import { downloadCliToResources } from "./utils"
await $`bun run install-electron`
await $`bun ./scripts/copy-icons.ts ${process.env.OPENCODE_CHANNEL ?? "dev"}`
await $`cd ../opencode && bun script/build-node.ts`
await downloadCliToResources()