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

fix imported distros fix (#226)

This commit is contained in:
mintty 2020-04-01 20:27:19 +02:00
parent 223671ce0d
commit 70b6f4cc45

View File

@ -224,9 +224,15 @@ config () {
then
icon="$basepath/$distro.exe"
root="$basepath/rootfs"
else
icon="$installdir"'\wsl.ico'
elif [ -d "$LOCALAPPDATA/lxss" ]
then
# legacy "Bash on Windows"
icon="%LOCALAPPDATA%/lxss/bash.ico"
root="$basepath"
else
# imported distro? (#226, #236)
icon="$installdir"'\wsl.ico'
root="$basepath/rootfs"
fi
# invocation parameters for mintty