fix: false positive package manager detection in upgrade (#3181)

This commit is contained in:
Aiden Cline
2025-10-14 13:18:40 -05:00
committed by GitHub
parent c1a420717a
commit 717b544633
2 changed files with 14 additions and 3 deletions

View File

@@ -50,6 +50,7 @@ export namespace Installation {
export async function method() {
if (process.execPath.includes(path.join(".opencode", "bin"))) return "curl"
if (process.execPath.includes(path.join(".local", "bin"))) return "curl"
const exec = process.execPath.toLowerCase()
const checks = [