Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
search: Fix printing app ID with no .desktop suffix
In flatpak#4535 it was brough to light that the search command strips the ".desktop" suffix from app IDs even if they genuinely end in .desktop. This commit fixes the reverse issue now that we've ported to libappstream: don't include the .desktop suffix even if it's present in the id of the appstream component, which it sometimes is. Fortunately we already ignore any components that don't have flatpak <bundle> elements, so we can unambiguously get the ID there.
- Loading branch information