2016-09-16 13:58:30 +02:00
|
|
|
@echo off
|
|
|
|
|
2017-05-19 22:19:20 +02:00
|
|
|
if "%installdir%" == "" 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
|
|
|
|
|
2017-05-19 22:19:20 +02:00
|
|
|
cd %installdir%
|
|
|
|
|
2016-11-16 16:46:50 +01:00
|
|
|
rem currently not removing software
|
2016-09-16 13:58:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
:end
|