Skip to content

Commit

Permalink
Update appimagen
Browse files Browse the repository at this point in the history
Find the correct name of the icon in the desktop file
  • Loading branch information
ivan-hc authored May 7, 2023
1 parent 0689a9e commit 2200423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appimagen
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ else
cp ./$APP/$APP.AppDir/usr/share/applications/*$(ls . | grep -i $APP | cut -c -4)*desktop ./$APP/$APP.AppDir/ 2>/dev/null
fi

ICONNAME=$(cat *desktop | grep "Icon=" | cut -c 6-)
ICONNAME=$(cat ./$APP/$APP.AppDir/*desktop | grep "Icon=" | head -1 | cut -c 6-)
cp ./$APP/$APP.AppDir/usr/share/icons/hicolor/22x22/apps/*$ICONNAME* ./$APP/$APP.AppDir/ 2>/dev/null
cp ./$APP/$APP.AppDir/usr/share/icons/hicolor/24x24/apps/*$ICONNAME* ./$APP/$APP.AppDir/ 2>/dev/null
cp ./$APP/$APP.AppDir/usr/share/icons/hicolor/32x32/apps/*$ICONNAME* ./$APP/$APP.AppDir/ 2>/dev/null
Expand Down

0 comments on commit 2200423

Please sign in to comment.