1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-18 20:10:58 +00:00
wsltty/uninstall.bat

36 lines
636 B
Batchfile
Raw Normal View History

@echo off
if "%installdir%" == "" set installdir=%LOCALAPPDATA%\wsltty
: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 (not installed anymore)
rem del "%USERPROFILE%\Desktop\WSL % in Mintty.lnk"
rem del "%USERPROFILE%\Desktop\WSL ~ in Mintty.lnk"
:start menu
cd %installdir%
bin\dash.exe config-distros.sh -shortcuts-remove
2016-11-16 16:46:50 +01:00
:explorer context menu
cd %installdir%
bin\dash.exe config-distros.sh -contextmenu-remove
2016-11-16 16:46:50 +01:00
:undeploy
cd %installdir%
2016-11-16 16:46:50 +01:00
rem currently not removing software
:end