Skip to content

v0.2.1

Choose a tag to compare

@o-murphy o-murphy released this 19 May 23:52
· 84 commits to main since this release

Added

  • DeveloperConfig — new developer: field in MetainfoConfig; generates
    <developer [id="..."]><name>...</name></developer> in metainfo XML
    (AppStream 1.0 / Flathub requirement)

Changed

  • Screenshot URL pinning is now config-driven: replaceMetainfoScreenshots()
    rebuilds the entire <screenshots> block from metainfo.screenshots: config
    • repo_slug + ref, instead of regex-replacing /main/ in the existing file.
      Works correctly regardless of what ref the file currently contains.
  • MetainfoGenerator.generate({ref}) bakes the correct ref into screenshot URLs
    at generation time; main is used as a fallback when no ref is provided.