removed .txt from filetypes script, fix for startmenu with go

This commit is contained in:
Michael H.G. Schmidt 2023-02-17 10:39:58 +01:00
parent b6d1ceea04
commit 7c33429d45
2 changed files with 4 additions and 5 deletions

View File

@ -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 #######

View File

@ -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