mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 05:10:58 +08:00
fix(core): fix detection of local installation channel (#22899)
This commit is contained in:
@@ -5,4 +5,4 @@ declare global {
|
||||
|
||||
export const InstallationVersion = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"
|
||||
export const InstallationChannel = typeof OPENCODE_CHANNEL === "string" ? OPENCODE_CHANNEL : "local"
|
||||
export const InstallationLocal = InstallationVersion === "local"
|
||||
export const InstallationLocal = InstallationChannel === "local"
|
||||
|
||||
Reference in New Issue
Block a user