mirror of
https://github.com/mintty/wsltty.git
synced 2025-01-31 02:01:01 +00:00
fix imported distros fix (#226)
This commit is contained in:
parent
223671ce0d
commit
70b6f4cc45
@ -224,9 +224,15 @@ config () {
|
|||||||
then
|
then
|
||||||
icon="$basepath/$distro.exe"
|
icon="$basepath/$distro.exe"
|
||||||
root="$basepath/rootfs"
|
root="$basepath/rootfs"
|
||||||
else
|
elif [ -d "$LOCALAPPDATA/lxss" ]
|
||||||
icon="$installdir"'\wsl.ico'
|
then
|
||||||
|
# legacy "Bash on Windows"
|
||||||
|
icon="%LOCALAPPDATA%/lxss/bash.ico"
|
||||||
root="$basepath"
|
root="$basepath"
|
||||||
|
else
|
||||||
|
# imported distro? (#226, #236)
|
||||||
|
icon="$installdir"'\wsl.ico'
|
||||||
|
root="$basepath/rootfs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# invocation parameters for mintty
|
# invocation parameters for mintty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user