1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-11-01 07:31:56 +00:00

support new WSL distribution model (#52)

This commit is contained in:
mintty
2017-07-28 14:14:51 +02:00
parent 0a39c664e2
commit 48f69cb11f
22 changed files with 323 additions and 150 deletions

View File

@@ -9,20 +9,26 @@ rem delete Start Menu Folder
set smf=%APPDATA%\Microsoft\Windows\Start Menu\Programs\WSLtty
rmdir /S /Q "%smf%"
rem delete Desktop Shortcuts
del "%USERPROFILE%\Desktop\WSL Bash % in Mintty.lnk"
del "%USERPROFILE%\Desktop\WSL Bash ~ in Mintty.lnk"
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
:explorer context menu
call "%installdir%\config-context-menu.bat" /U
cd %installdir%
bin\dash.exe config-distros.sh -contextmenu-remove
:undeploy
cd %installdir%
rem currently not removing software