Skip to content

Commit

Permalink
Update NEW-junest.sh
Browse files Browse the repository at this point in the history
- fix missing icon in launcher
  • Loading branch information
ivan-hc authored Jan 15, 2025
1 parent 13da1e1 commit 2e117a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NEW-junest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e117a9

Please sign in to comment.