diff --git a/optional/install-go.cmd b/optional/install-go.cmd index ca8042c..a4c96a2 100644 --- a/optional/install-go.cmd +++ b/optional/install-go.cmd @@ -5,6 +5,7 @@ if %ERRORLEVEL% neq 0 exit /b set SCRIPTS=..\scripts set SOFTWARE=..\software set MSI=go-setup.msi +set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" if NOT EXIST %SOFTWARE%\%MSI% ( echo ERROR: %SOFTWARE%\%MSI% not found! @@ -19,5 +20,8 @@ msiexec /i %MSI% /passive @echo off cd %OPT% +echo removing GO startmenu folder ... +rd /S /Q %STARTMENU%\"Go Programming Language" 2>nul + echo ####### %0 ####### diff --git a/scripts/set-filetypes.cmd b/scripts/set-filetypes.cmd index ce620dd..d05e754 100644 --- a/scripts/set-filetypes.cmd +++ b/scripts/set-filetypes.cmd @@ -47,11 +47,6 @@ set BINARY="%PROGRAMFILES(x86)%\eM Client\MailClient.exe" set SUFFIX=eml call :SFTA -set AKA=Notepad -set BINARY="%windir%\notepad.exe" -set SUFFIX=txt -call :SFTA - set AKA=VScode set BINARY="%PROGRAMFILES%\Microsoft VS Code\Code.exe" set SUFFIX=c md sh bash py go