mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
specify runtime for npm install
This commit is contained in:
parent
c4f86d2a30
commit
da7d451328
|
@ -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
|
||||
|
|
|
@ -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 $*
|
Loading…
Reference in a new issue