Skip to content

[Feature Request] Use included screenshot #3350

@Drsheppard01

Description

@Drsheppard01

I think the best UX is to use the screenshot specified in appdata.metainfo. I even wrote a small parser (I managed to get the right result, but I'm sure it won't always be like this)

cat $METAFILE | grep '<image type="source">' | sed "s/^\ *<[^>]*>//g;s/<\/[^>]*>//g" | cut -d'>' -f2  # For 1 screenshot
cat $METAFILE | grep '<image>' | sed "s/^\ *<[^>]*>//g;s/<\/[^>]*>//g" | cut -d '>' -f1 | head -n1 # For multiple screenshots

Benefits:

  • User see app in better resolution
  • this will simplify worker.sh

Warning:

Not all include appdata.xml or metainfo.xml in your AppImage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions