1
0
mirror of https://github.com/mintty/wsltty.git synced 2025-01-18 12:05:47 +00:00

allow persistent customization of default icon (#132)

This commit is contained in:
mintty 2019-01-01 14:53:48 +01:00
parent 05ce002fc6
commit 20075c6378
2 changed files with 9 additions and 1 deletions

View File

@ -121,6 +121,13 @@ To add launch entries for the default or all WSL distributions to the
Explorer context menu, or remove them, run the respective script from the
Start Menu subfolder `WSLtty`.
#### Icon ####
Wsltty installation and the mintty terminal try to use the icon of the
respective WSL distribution. If it cannot be determined, a penguin icon
is used as a default. You can replace it with your preferred fallback icon
by replacing the icon file `%LOCALAPPDATA%\wsltty\wsl.ico`.
#### Mintty settings ####
Mintty can maintain its configuration file in various locations,

View File

@ -28,9 +28,10 @@ copy "remove from context menu.lnk" "%installdir%"
copy "configure WSL shortcuts.lnk" "%installdir%"
copy "WSL Terminal.lnk" "%installdir%"
copy "WSL Terminal %%.lnk" "%installdir%"
copy wsl.ico "%installdir%"
copy config-distros.sh "%installdir%"
copy mkshortcut.vbs "%installdir%"
rem allow persistent customization of default icon:
if not exist "%installdir%"\wsl.ico copy wsl.ico "%installdir%"
if not exist "%installdir%\bin" goto instbin
rem move previous programs possibly in use out of the way