fix: Use correct platform check string 'win32' explicitly
This commit is contained in:
parent
308251c69c
commit
76eccff72c
@ -438,7 +438,7 @@ export async function installSkill(params: SkillInstallRequest): Promise<SkillIn
|
||||
code: brewResult.code,
|
||||
};
|
||||
}
|
||||
} else if (resolveRuntimePlatform() === "windows" && hasBinary("winget")) {
|
||||
} else if (resolveRuntimePlatform() === "win32" && hasBinary("winget")) {
|
||||
const result = await installWithWinget("GoLang.Go", timeoutMs);
|
||||
if (result.code !== 0) {
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user