mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
12 lines
318 B
Batchfile
12 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
|