nicolasfella added a comment.
In D13880#286820 <https://phabricator.kde.org/D13880#286820>, @ngraham wrote: > In D13880#286818 <https://phabricator.kde.org/D13880#286818>, @nicolasfella wrote: > > > Do you know if/how we can check if there is a handler for appstream://? So we can fall back to website if none is available > > > I think you added that data and functionality in D13706 <https://phabricator.kde.org/D13706>, no? Looks like you can just try to get `appstreamId`, and if you get back an empty string, then no appstream URL is defined for it and you can fall back to the homepage. No, what I mean is check if Discover or any app that handles appstream:// is available. The install action is pretty useless without an application handling it. REPOSITORY R304 KNewStuff REVISION DETAIL https://phabricator.kde.org/D13880 To: nicolasfella, gregormi, dhaumann, ngraham Cc: kde-frameworks-devel, michaelh, ngraham, bruns