1
0
mirror of https://github.com/mintty/wsltty.git synced 2024-10-05 18:31:04 +01:00
wsltty/uninstall.bat

31 lines
620 B
Batchfile
Raw Normal View History

@echo off
2016-11-16 15:46:50 +00:00
rem See comments in install.bat about changing the installation directory.
2016-11-16 15:46:50 +00:00
set installdir=%LOCALAPPDATA%\wsltty
:shortcuts
2016-11-16 15:46:50 +00:00
rem delete Start Menu Folder
set smf=%APPDATA%\Microsoft\Windows\Start Menu\Programs\WSLtty
rmdir /S /Q "%smf%"
rem delete Desktop Shortcuts
del "%USERPROFILE%\Desktop\WSL Bash % in Mintty.lnk"
del "%USERPROFILE%\Desktop\WSL Bash ~ in Mintty.lnk"
2016-11-16 15:46:50 +00:00
:explorer context menu
2016-11-18 09:30:56 +00:00
call "%installdir%\config-context-menu.bat" /U
2016-11-16 15:46:50 +00:00
:undeploy
rem currently not removing software
rem in any case, at least the config file (home\...) should not be removed
:end