https://bugs.kde.org/show_bug.cgi?id=422288

--- Comment #1 from Carlo Vanini <silh...@gmail.com> ---
Maybe you can use `qapt-batch`, which is intended for your use case and is
based on the same library (libqapt3) as Muon.

Other examples I can think of are 
* kubuntu-driver-manager is using libQApt as a c++ library
https://cgit.kde.org/scratch/garg/kcm-driver-manager.git/tree/src/DriverManager.cpp#n25
* ubuntu-drivers-common is using python3-apt
* Spectacle, this is a more recent and adequate example especially if you want
to install other applications like Okular.
In the Spectacle window click on Tools > Record screen > Others > Peek >
Install
(If Peek is not already installed, you can install it from there with Discover)

I thank you for your interest in Muon. But, your best bet is probably to look
at Spectacle and use Discover as it is more modern, actively maintained and may
work with more distributions (not just deb based).

You may also have a look at how it is done for localization packages. There is
a notification in the system tray when additional packages are available, not
sure how that one works.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to