From 2e117a91d2ba31c4915083a5c5795c4288ce382d Mon Sep 17 00:00:00 2001 From: iVAN <88724353+ivan-hc@users.noreply.github.com> Date: Wed, 15 Jan 2025 06:51:54 +0100 Subject: [PATCH] Update NEW-junest.sh - fix missing icon in launcher --- NEW-junest.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/NEW-junest.sh b/NEW-junest.sh index c3bae5a..ad7ae50 100644 --- a/NEW-junest.sh +++ b/NEW-junest.sh @@ -158,6 +158,7 @@ rm -f ./*.desktop LAUNCHER=$(grep -iRl "$BIN" ./.junest/usr/share/applications/* | grep ".desktop" | head -1) cp -r "$LAUNCHER" ./ ICON=$(cat "$LAUNCHER" | grep "Icon=" | cut -c 6-) +[ -z "$ICON" ] && ICON="$BIN" cp -r ./.junest/usr/share/icons/*"$ICON"* ./ 2>/dev/null cp -r ./.junest/usr/share/icons/hicolor/22x22/apps/*"$ICON"* ./ 2>/dev/null cp -r ./.junest/usr/share/icons/hicolor/24x24/apps/*"$ICON"* ./ 2>/dev/null