Skip to content

Commit

Permalink
fix: gcc path on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 17, 2021
1 parent 09a5e16 commit e9a591d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gcc/gcc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e9a591d

Please sign in to comment.