mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-24 01:03:27 +00:00
11 lines
358 B
TypeScript
11 lines
358 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()
|
|
if (channel === "beta") await downloadCliToResources("next")
|