From 4f6e12741a535d1ae5e2dfc5e0a5630ebbf51dbe Mon Sep 17 00:00:00 2001 From: Thomas Wolff Date: Mon, 2 Dec 2019 00:00:00 +0100 Subject: [PATCH] fix icon access --- config-distros.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config-distros.sh b/config-distros.sh index e0c0059..fd3a732 100755 --- a/config-distros.sh +++ b/config-distros.sh @@ -191,9 +191,11 @@ config () { psh_cmd='([xml]$(Get-Content '"\"$manifest\""')).Package.Applications.Application.Executable' executable=`appex "$manifest"` if [ -r "$ProgramW6432/WindowsApps/$distrinst/$executable" ] - then icon="%ProgramW6432%/WindowsApps/$distrinst/$executable" + then #icon="%ProgramW6432%/WindowsApps/$distrinst/$executable" + icon="$ProgramW6432/WindowsApps/$distrinst/$executable" elif [ -r "$ProgramW6432/WindowsApps/$distrinst/images/icon.ico" ] - then icon="%ProgramW6432%/WindowsApps/$distrinst/images/icon.ico" + then #icon="%ProgramW6432%/WindowsApps/$distrinst/images/icon.ico" + icon="$ProgramW6432/WindowsApps/$distrinst/images/icon.ico" else icon="$installdir"'\wsl.ico' fi root="$basepath/rootfs"