Skip to content

Commit

Permalink
fix: add support for windows gui clients (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Woodward authored and typicode committed Oct 9, 2016
1 parent 2465137 commit 100ad1e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ module.exports = {
// Test if nvm is in PATH and load version specified by .nvmrc
'command -v nvm >/dev/null 2>&1 && [ -f .nvmrc ] && nvm use'
])
} else {
// Add
// Node standard installation path /c/Program Files/nodejs
// for GUI apps
// https://github.com/typicode/husky/issues/49
arr = arr.concat([
'export PATH="$PATH:/c/Program Files/nodejs"'
])
}

// Can't find npm message
Expand Down

0 comments on commit 100ad1e

Please sign in to comment.