vscode/scripts/npm.bat

12 lines
318 B
Batchfile
Raw Normal View History

2015-11-13 13:39:38 +00:00
@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