fix(desktop): bootstrap v2 background service (#39309)

This commit is contained in:
Luke Parker 2026-07-28 21:03:34 +10:00 committed by GitHub
commit 1be6d94267
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 228 additions and 120 deletions

View file

@ -1,10 +1,10 @@
#!/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()