mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 20:10:58 +00:00
28 lines
625 B
Batchfile
Executable File
28 lines
625 B
Batchfile
Executable File
@echo off
|
|
|
|
|
|
:undeploy
|
|
|
|
rem currently not removing software
|
|
rem in any case, at least the config file (home\...) should not be removed
|
|
|
|
|
|
:shortcuts
|
|
|
|
rem delete Desktop Shortcut and Start Menu Shortcut
|
|
del "%USERPROFILE%\Desktop\Bash on UoW in Mintty.lnk"
|
|
del "%APPDATA%\Microsoft\Windows\Start Menu\Bash on UoW in Mintty.lnk"
|
|
|
|
|
|
:explorer
|
|
|
|
rem delete Explorer context menu
|
|
set userdirname=HKEY_CURRENT_USER\Software\Classes\Directory\shell
|
|
set userdirpane=HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell
|
|
|
|
reg delete "%userdirname%\wsltty" /f
|
|
reg delete "%userdirpane%\wsltty" /f
|
|
|
|
|
|
:end
|