Skip to content

Commit e9a591d

Browse files
committed
fix: gcc path on windows
1 parent 09a5e16 commit e9a591d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gcc/gcc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function setupGcc(version: string, _setupCppDir: string, arch: stri
2222
binDir = "C:/tools/mingw32/bin"
2323
addPath(binDir)
2424
} else if (existsSync("C:/ProgramData/Chocolatey/bin/g++.exe")) {
25-
binDir = "C:/ProgramData/Chocolatey/bin/g++.exe"
25+
binDir = "C:/ProgramData/Chocolatey/bin/"
2626
}
2727
break
2828
}

0 commit comments

Comments
 (0)