Skip to content

fix: improve AppImage icon extraction and selection - #1

Open
johnny-bit wants to merge 1 commit into
rxtsel:mainfrom
johnny-bit:fix/icon-extraction
Open

fix: improve AppImage icon extraction and selection#1
johnny-bit wants to merge 1 commit into
rxtsel:mainfrom
johnny-bit:fix/icon-extraction

Conversation

@johnny-bit

Copy link
Copy Markdown

Large AppImages (500+ embedded icons) caused the installer to exit silently after "Extracting icon..." because find|sort|head triggered SIGPIPE under set -o pipefail.

Search icons in spec order instead of picking the first file in the tree: .DirIcon and root desktop Icon= (AppDir/AppImage), then the best hicolor icon under share/icons, then any png/svg as last resort.

Large AppImages (500+ embedded icons) caused the installer to exit
silently after "Extracting icon..." because find|sort|head triggered
SIGPIPE under set -o pipefail.

Search icons in spec order instead of picking the first file in the
tree: .DirIcon and root desktop Icon= (AppDir/AppImage), then the
best hicolor icon under share/icons, then any png/svg as last resort.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant