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

34 lines
536 B
Batchfile
Raw Permalink Normal View History

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