vscode/scripts/npm.bat
2015-11-13 14:39:38 +01:00

11 lines
318 B
Batchfile

@echo off
setlocal
set npm_config_disturl="https://atom.io/download/atom-shell"
for /f "delims=" %%A in ('powershell -Command "(Get-Content -Raw %~dp0..\package.json | ConvertFrom-Json).electronVersion"') do set "npm_config_target=%%A"
set npm_config_arch="ia32"
set HOME=~\.electron-gyp
npm %*
endlocal