forked from flatpak/flatpak
-
Notifications
You must be signed in to change notification settings - Fork 0
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. Fixes flatpak#4535
- Loading branch information
Showing
1 changed file
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters