linuxmint / mintinstall

Software Manager
143 stars 100 forks source link

Add software sources into submenu (Adding code from PR #382) #432

Closed rlatosky closed 3 days ago

rlatosky commented 3 months ago

This PR solves the issue brought up in PR #382 (Code taken from PR #382 as well). The application mintsources is added to the Software Manager application in a sub-menu, and runs alongside the Software Manager without freezing the main window. At mintsources exit, we update the list of packages. It works as intended (tested on LM 22 VM), although it takes about two refreshes of the Software Manager to list the packages from an added repository (in the demo below, I used Brave's repository).

Testing:

  1. Add repo into mintsources (launched from Software Manager submenu), update APT cache, and exit mintsources
  2. Wait for Software Manager to refresh
  3. Package from added repo should show up

Demo: Peek 2024-08-14 07-14