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:
parent
223671ce0d
commit
70b6f4cc45
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user