bugfix - see comment

This commit is contained in:
Michael H.G. Schmidt 2023-07-30 19:34:23 +02:00
parent 7b5ca95343
commit 0a0914b90d

View File

@ -36,11 +36,6 @@ move /Y %STARTMENU%\"Visual Studio Code\Visual*.lnk" %STARTMENU%
echo removing VScode startmenu folder ...
rd /S /Q %STARTMENU%\"Visual Studio Code" 2>nul
echo adding VScode MARKDOWNTABLE plugin ...
"%ProgramFiles%\Microsoft VS Code\bin\code" ^
--extensions-dir "%ProgramFiles%\Microsoft VS Code\resources\app\extensions" ^
--install-extension %MARKDOWNTABLE% --force
echo ####### %0 #######
rem set filetypes ...
@ -48,5 +43,11 @@ if EXIST ..\scripts\set-filetypes.cmd (
call ..\scripts\set-filetypes.cmd
)
pause
rem IMPORTANT! THIS must be the last action
rem - for some reason stupid VScode is killing the script after executing ...
echo adding VScode MARKDOWNTABLE plugin ...
"%ProgramFiles%\Microsoft VS Code\bin\code" ^
--extensions-dir "%ProgramFiles%\Microsoft VS Code\resources\app\extensions" ^
--install-extension %MARKDOWNTABLE% --force