mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 20:10:58 +00:00
30 lines
509 B
Batchfile
Executable File
30 lines
509 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%"
|
|
|
|
rem delete Desktop Shortcuts
|
|
del "%USERPROFILE%\Desktop\WSL Bash % in Mintty.lnk"
|
|
del "%USERPROFILE%\Desktop\WSL Bash ~ in Mintty.lnk"
|
|
|
|
|
|
:explorer context menu
|
|
|
|
call "%installdir%\config-context-menu.bat" /U
|
|
|
|
|
|
:undeploy
|
|
|
|
cd %installdir%
|
|
|
|
rem currently not removing software
|
|
|
|
|
|
:end
|