Reading the .desktop spec [1] the key they use is "Terminal". So perhaps
this is worth matching:
"apps": [{"name": "moon-buggy", "terminal": true}]
[1] https://specifications.freedesktop.org/desktop-entry-spec/latest/
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1595023
Title:
Need to determine if snap apps require terminal or not
Status in gnome-software package in Ubuntu:
Triaged
Status in snapd package in Ubuntu:
New
Bug description:
snapd returns a list of apps a snap contains, i.e:
"apps": [{"name": "moon-buggy"}]
However, we can't tell if this is a terminal app (like moon buggy) or
a graphical app (like Ubuntu calculator).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1595023/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp