fix(desktop): bootstrap v2 background service (#39309)
This commit is contained in:
parent
302e9b45ab
commit
1be6d94267
9 changed files with 228 additions and 120 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue