swupd-client
swupd-client copied to clipboard
3rd-party: export .desktop files
Currently, swupd 3rd-party only creates a wrapper for binary files such that they can be used (putting them in PATH). As most of the software people will install through 3rd-party will be (proprietary) desktop software it would be a better experience for the end-user if all .desktop files from /opt/3rd-pary/bundles/3rd-party-repo-name/usr/share/applications would end up in either the global /usr/share/applications folder (I think this violates the stateless design and thus would not be a good option) or in $HOME/.local/share/applications however, this would mean that the applications will only be available for one user (through the desktop interface).
Both options rely on the person creating the 3rd-party bundle to update the .desktop files with the correct path.
Just copying to
~/.local/share/applications
doesn't works.
This is true when using unmodified .desktop files as they reference non-existing binaries, the .desktop file needs to be modified to adjust for the /opt/3rd-party/bin folder
After upgrade to swupd 3.24.5 3rd-party .desktop works in Gnome on X, but still hidden in Wayland session.