appdata: Fix check errors

The following errors are found during appdata checking:

* org.flameshot.flameshot: missing-desktop-file
* flameshot.desktop: no-metainfo

The root cause is the lack of a <launchable type="desktop-id"> tag
in the metainfo file that references the name of .desktop file.
This commit fixes that.

(Another solution would be renaming flameshot.desktop to be
org.flameshot.flameshot.desktop.)
This commit is contained in:
Boyuan Yang
2020-09-21 12:10:46 -04:00
committed by borgmanJeremy
parent c56bb78cf3
commit 42f6c8d501

View File

@@ -22,4 +22,5 @@
</screenshots> </screenshots>
<url type="homepage">https://github.com/flameshot-org/flameshot</url> <url type="homepage">https://github.com/flameshot-org/flameshot</url>
<update_contact>https://github.com/flameshot-org/flameshot/issues/new</update_contact> <update_contact>https://github.com/flameshot-org/flameshot/issues/new</update_contact>
<launchable type="desktop-id">flameshot.desktop</launchable>
</component> </component>