2016-09-16 13:58:30 +02:00
|
|
|
@echo off
|
|
|
|
|
2020-01-20 00:00:00 +01: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
|
2020-01-20 00:00:00 +01:00
|
|
|
set smf="%APPDATA%\Microsoft\Windows\Start Menu\Programs\WSLtty"
|
2016-11-16 16:46:50 +01:00
|
|
|
rmdir /S /Q "%smf%"
|
|
|
|
|
2017-07-28 14:14:51 +02:00
|
|
|
|
|
|
|
:start menu
|
|
|
|
|
|
|
|
cd %installdir%
|
|
|
|
bin\dash.exe config-distros.sh -shortcuts-remove
|
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
|
|
|
|
2017-07-28 14:14:51 +02:00
|
|
|
cd %installdir%
|
|
|
|
bin\dash.exe config-distros.sh -contextmenu-remove
|
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
|