2021-02-20 18:54:54 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set CONFIG=config\install-vscode.txt
|
2021-02-28 14:10:59 +01:00
|
|
|
set EXE=..\software\vscode-setup.exe
|
2021-02-20 18:54:54 +01:00
|
|
|
|
2021-02-27 20:07:28 +01:00
|
|
|
if NOT EXIST %EXE% (
|
|
|
|
echo ERROR: %EXE% not found!
|
|
|
|
exit /b
|
|
|
|
)
|
|
|
|
|
2021-02-20 18:54:54 +01:00
|
|
|
echo ####### %0 #######
|
|
|
|
|
|
|
|
echo killing ssh processes...
|
|
|
|
taskkill /F /IM Code.exe 2>nul
|
|
|
|
|
|
|
|
echo installing Visual Studio CODE ...
|
|
|
|
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
2021-03-02 21:47:42 +01:00
|
|
|
pause
|
2021-02-20 18:54:54 +01:00
|
|
|
|