1
0
mirror of https://github.com/mintty/wsltty.git synced 2024-10-05 10:21:06 +01:00
wsltty/uninstall.bat
mintty b8ad6553c4 fix installer: invoke configuration (#232), shortcuts generation (#237, #162),
usernames with spaces (#230) and other chars (#213), #162 generate shortcuts
2020-04-02 14:44:32 +02:00

34 lines
536 B
Batchfile
Executable File

@echo off
if "%installdir%" == "" set installdir="%LOCALAPPDATA%\wsltty"
call dequote installdir
:shortcuts
rem delete Start Menu Folder
set smf="%APPDATA%\Microsoft\Windows\Start Menu\Programs\WSLtty"
call dequote smf
rmdir /S /Q "%smf%"
:start menu
cd /D "%installdir%"
bin\dash.exe config-distros.sh -shortcuts-remove
:explorer context menu
cd /D "%installdir%"
bin\dash.exe config-distros.sh -contextmenu-remove
:undeploy
cd /D "%installdir%"
rem currently not removing software
:end