mirror of
https://github.com/mintty/wsltty.git
synced 2025-02-07 13:41:07 +00:00
find proper icon and rootfs for wsldl-built distros (#169)
This commit is contained in:
parent
a207cae3a8
commit
3f60e3f48c
@ -154,6 +154,10 @@ config () {
|
|||||||
else icon="$installdir"'\wsl.ico'
|
else icon="$installdir"'\wsl.ico'
|
||||||
fi
|
fi
|
||||||
root="$basepath/rootfs"
|
root="$basepath/rootfs"
|
||||||
|
elif [ -f "$basepath/$distro.exe" ]
|
||||||
|
then
|
||||||
|
icon="$basepath/$distro.exe"
|
||||||
|
root="$basepath/rootfs"
|
||||||
else
|
else
|
||||||
icon="%LOCALAPPDATA%/lxss/bash.ico"
|
icon="%LOCALAPPDATA%/lxss/bash.ico"
|
||||||
root="$basepath"
|
root="$basepath"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user