mirror of https://github.com/aminya/setup-cpp
fix: gcc path on windows
This commit is contained in:
parent
09a5e16c4f
commit
e9a591d9d4
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue