feat(desktop): add opt-in v2 sidecar
This commit is contained in:
parent
7dae9a1083
commit
3292e6e5b2
10 changed files with 243 additions and 28 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue