mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-31 02:01:01 +00:00
tweak
This commit is contained in:
parent
d8c9b21b9c
commit
c3c54a397f
12
install.bat
12
install.bat
@ -18,8 +18,9 @@ copy uninstall.bat "%installdir%"
|
||||
copy wsl.bat "%installdir%"
|
||||
copy wsl~.bat "%installdir%"
|
||||
copy wsl-l.bat "%installdir%"
|
||||
copy "add to context menu.bat" "%installdir%"
|
||||
copy "remove from context menu.bat" "%installdir%"
|
||||
copy "config-context-menu.bat" "%installdir%"
|
||||
copy "add to context menu.lnk" "%installdir%"
|
||||
copy "remove from context menu.lnk" "%installdir%"
|
||||
rem does not work without admin rights:
|
||||
rem copy wsl.bat "%SYSTEMROOT%\System32"
|
||||
rem copy wsl~.bat "%SYSTEMROOT%\System32"
|
||||
@ -43,14 +44,17 @@ mkdir "%installdir%\home\%USERNAME%"
|
||||
rem create Start Menu Folder
|
||||
set smf=%APPDATA%\Microsoft\Windows\Start Menu\Programs\WSLtty
|
||||
mkdir "%smf%"
|
||||
echo on
|
||||
copy "wsltty home & help.url" "%smf%"
|
||||
copy "WSL Bash % in Mintty.lnk" "%smf%"
|
||||
copy "WSL Bash %% in Mintty.lnk" "%smf%"
|
||||
copy "WSL Bash ~ in Mintty.lnk" "%smf%"
|
||||
copy "WSL Bash -l in Mintty.lnk" "%smf%"
|
||||
mkdir "%smf%\context menu shortcuts"
|
||||
copy "add to context menu.lnk" "%smf%\context menu shortcuts"
|
||||
copy "remove from context menu.lnk" "%smf%\context menu shortcuts"
|
||||
|
||||
rem create Desktop Shorcuts
|
||||
copy "WSL Bash % in Mintty.lnk" "%USERPROFILE%\Desktop"
|
||||
copy "WSL Bash %% in Mintty.lnk" "%USERPROFILE%\Desktop"
|
||||
copy "WSL Bash ~ in Mintty.lnk" "%USERPROFILE%\Desktop"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user