mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-18 20:10:58 +00:00
restore deleted root definition, fallback to icon.ico first
This commit is contained in:
parent
a2414e0dc7
commit
b23a0a4b3d
@ -140,8 +140,11 @@ do
|
||||
executable="${executable%"${executable##*[![:space:]]}"}"
|
||||
if [ -r "$ProgramW6432/WindowsApps/$instdir/$executable" ]
|
||||
then icon="%PROGRAMFILES%\\WindowsApps\\$instdir\\$executable"
|
||||
elif [ -r "$ProgramW6432/WindowsApps/$instdir/images/icon.ico" ]
|
||||
then icon="%PROGRAMFILES%/WindowsApps/$instdir/images/icon.ico"
|
||||
else icon="%LOCALAPPDATA%/wsltty/wsl.ico"
|
||||
fi
|
||||
root="$basepath/rootfs"
|
||||
else
|
||||
icon="%LOCALAPPDATA%/lxss/bash.ico"
|
||||
root="$basepath"
|
||||
|
Loading…
x
Reference in New Issue
Block a user