mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 11:10:48 +00:00
11 lines
292 B
Batchfile
11 lines
292 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
set npm_config_disturl="https://atom.io/download/atom-shell"
|
|
for /f "tokens=2 delims=:, " %%a in ('findstr /R /C:"\"electronVersion\":.*" %~dp0..\package.json') do set npm_config_target=%%~a
|
|
set npm_config_arch="ia32"
|
|
set HOME=~\.electron-gyp
|
|
|
|
npm %*
|
|
|
|
endlocal
|