use production share url

This commit is contained in:
Dax Raad
2025-06-19 14:21:00 -04:00
parent a85b0a370e
commit ec1c9f8cd1
6 changed files with 15 additions and 5 deletions

View File

@@ -41,6 +41,10 @@ export namespace Installation {
return VERSION.startsWith("0.0.0")
}
export function isDev() {
return VERSION === "dev"
}
export async function method() {
if (process.execPath.includes(path.join(".opencode", "bin"))) return "curl"
const exec = process.execPath.toLowerCase()