Skip to content

Commit 626b752

Browse files
MSP-Gregeregon
authored andcommitted
Correct Windows MSYS2 paths
1 parent 819c372 commit 626b752

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

windows.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function setupPath(msys2, rubyPrefix) {
5959
path = path.filter(e => !e.match(/\bRuby\b/))
6060

6161
// Add MSYS2 in PATH
62-
path.unshift(`${msys2}\\mingw64`, `${msys2}\\usr`)
62+
path.unshift(`${msys2}\\mingw64\\bin`, `${msys2}\\usr\\bin`)
6363

6464
// Add the downloaded Ruby in PATH
6565
path.unshift(`${rubyPrefix}\\bin`)

0 commit comments

Comments
 (0)