1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-31 02:01:01 +00:00
wsltty/uninstall.bat
2020-01-20 15:47:56 +01:00

32 lines
478 B
Batchfile
Executable File

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