diff --git a/optional/install-vscode.cmd b/optional/install-vscode.cmd index 69c6d6a..c79d7dc 100644 --- a/optional/install-vscode.cmd +++ b/optional/install-vscode.cmd @@ -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