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
parent 1ead8d84a2
commit 9e432a6785
9 changed files with 265 additions and 58 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
#!/usr/bin/env bun
import { $ } from "bun"
import { resolveChannel } from "./utils"
import { downloadCliToResources, resolveChannel } from "./utils"
const channel = resolveChannel()
await $`bun ./scripts/copy-icons.ts ${channel}`
await $`bun ./scripts/copy-metainfo.ts ${channel}`
await $`cd ../opencode && bun script/build-node.ts`
if (channel === "dev") await downloadCliToResources()