mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-05 03:09:56 +00:00
10 lines
297 B
TypeScript
10 lines
297 B
TypeScript
#!/usr/bin/env bun
|
|
import { $ } from "bun"
|
|
|
|
import { downloadCliToResources, resolveChannel } from "./utils"
|
|
|
|
const channel = resolveChannel()
|
|
await $`bun ./scripts/copy-icons.ts ${channel}`
|
|
await $`bun ./scripts/copy-metainfo.ts ${channel}`
|
|
|
|
if (channel === "dev") await downloadCliToResources()
|