removed .txt from filetypes script, fix for startmenu with go
This commit is contained in:
parent
b6d1ceea04
commit
7c33429d45
@ -5,6 +5,7 @@ if %ERRORLEVEL% neq 0 exit /b
|
|||||||
set SCRIPTS=..\scripts
|
set SCRIPTS=..\scripts
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
set MSI=go-setup.msi
|
set MSI=go-setup.msi
|
||||||
|
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||||
|
|
||||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||||
@ -19,5 +20,8 @@ msiexec /i %MSI% /passive
|
|||||||
@echo off
|
@echo off
|
||||||
cd %OPT%
|
cd %OPT%
|
||||||
|
|
||||||
|
echo removing GO startmenu folder ...
|
||||||
|
rd /S /Q %STARTMENU%\"Go Programming Language" 2>nul
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
|
@ -47,11 +47,6 @@ set BINARY="%PROGRAMFILES(x86)%\eM Client\MailClient.exe"
|
|||||||
set SUFFIX=eml
|
set SUFFIX=eml
|
||||||
call :SFTA
|
call :SFTA
|
||||||
|
|
||||||
set AKA=Notepad
|
|
||||||
set BINARY="%windir%\notepad.exe"
|
|
||||||
set SUFFIX=txt
|
|
||||||
call :SFTA
|
|
||||||
|
|
||||||
set AKA=VScode
|
set AKA=VScode
|
||||||
set BINARY="%PROGRAMFILES%\Microsoft VS Code\Code.exe"
|
set BINARY="%PROGRAMFILES%\Microsoft VS Code\Code.exe"
|
||||||
set SUFFIX=c md sh bash py go
|
set SUFFIX=c md sh bash py go
|
||||||
|
Loading…
Reference in New Issue
Block a user