specify runtime for npm install

This commit is contained in:
Benjamin Pasero 2016-05-03 15:43:33 +02:00
parent c4f86d2a30
commit da7d451328
2 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,6 @@ for /f "tokens=2 delims=:, " %%a in ('findstr /R /C:"\"electronVersion\":.*" %~d
set npm_config_arch="ia32"
set HOME=~\.electron-gyp
npm %*
npm --runtime=electron %*
endlocal

View file

@ -25,4 +25,4 @@ mkdir -p $ELECTRON_GYP_HOME
npm_config_disturl=https://atom.io/download/atom-shell \
npm_config_target=$ELECTRON_VERSION \
HOME=$ELECTRON_GYP_HOME \
npm $*
npm --runtime=electron $*