Skip to content

Commit

Permalink
NSIS script fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
insertc0in committed Oct 30, 2015
1 parent 5cf3423 commit ab8ceb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/windows/installer_makensis.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,8 @@ Section

SetOutPath "\\?\$INSTDIR\node_modules"
!ifdef WIN_PATHS
File /r /x "*grunt*" /x "stylus" /x "nw-gyp" /x "bower" /x ".bin" /x "bin" /x "test" /x "test*" /x "example*" /x ".*" /x "*.md" /x "*.gz" /x "benchmark*" /x "*.markdown" "..\..\node_modules\*.*"
!searchreplace node_modules ${__FILEDIR__} "\dist\windows" "\node_modules"
File /r /x "*grunt*" /x "stylus" /x "nw-gyp" /x "bower" /x ".bin" /x "bin" /x "test" /x "test*" /x "example*" /x ".*" /x "*.md" /x "*.gz" /x "benchmark*" /x "*.markdown" "\\?\${node_modules}\*.*"
!else
File /r /x "*grunt*" /x "stylus" /x "nw-gyp" /x "bower" /x ".bin" /x "bin" /x "test" /x "test*" /x "example*" /x ".*" /x "*.md" /x "*.gz" /x "benchmark*" /x "*.markdown" "../../node_modules/*.*"
!endif
Expand Down

0 comments on commit ab8ceb4

Please sign in to comment.