This commit is contained in:
Dax Raad
2025-10-14 14:56:21 -04:00
parent 289783f627
commit 61f6091de1
6 changed files with 23 additions and 24 deletions

View File

@@ -42,11 +42,11 @@ export namespace Installation {
}
export function isPreview() {
return VERSION.startsWith("0.0.0")
return CHANNEL !== "latest"
}
export function isDev() {
return VERSION === "dev"
export function isLocal() {
return typeof OPENCODE_CHANNEL !== "string"
}
export async function method() {