fix: gcc path on windows

This commit is contained in:
Amin Yahyaabadi 2021-09-17 05:21:43 -05:00
parent 09a5e16c4f
commit e9a591d9d4
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export async function setupGcc(version: string, _setupCppDir: string, arch: stri
binDir = "C:/tools/mingw32/bin"
addPath(binDir)
} else if (existsSync("C:/ProgramData/Chocolatey/bin/g++.exe")) {
binDir = "C:/ProgramData/Chocolatey/bin/g++.exe"
binDir = "C:/ProgramData/Chocolatey/bin/"
}
break
}