From 7c33429d4555ff616d21e3317d65c0fb64cbed0d Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Fri, 17 Feb 2023 10:39:58 +0100 Subject: [PATCH] removed .txt from filetypes script, fix for startmenu with go --- optional/install-go.cmd | 4 ++++ scripts/set-filetypes.cmd | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) 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