2016-09-16 13:58:30 +02:00
|
|
|
@echo off
|
|
|
|
|
2016-11-16 16:46:50 +01:00
|
|
|
rem See comments in install.bat about changing the installation directory.
|
2016-09-16 13:58:30 +02:00
|
|
|
|
2016-11-16 16:46:50 +01:00
|
|
|
set installdir=%LOCALAPPDATA%\wsltty
|
2016-09-16 13:58:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
:shortcuts
|
|
|
|
|
2016-11-16 16:46:50 +01: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-09-16 13:58:30 +02:00
|
|
|
|
|
|
|
|
2016-11-16 16:46:50 +01:00
|
|
|
:explorer context menu
|
2016-09-16 13:58:30 +02:00
|
|
|
|
2016-11-18 10:30:56 +01:00
|
|
|
call "%installdir%\config-context-menu.bat" /U
|
2016-09-16 13:58:30 +02:00
|
|
|
|
2016-11-16 16:46:50 +01:00
|
|
|
|
|
|
|
:undeploy
|
|
|
|
|
|
|
|
rem currently not removing software
|
|
|
|
rem in any case, at least the config file (home\...) should not be removed
|
2016-09-16 13:58:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
:end
|