mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 09:24:16 +02:00
[fix][appimage][flatpak] notifying ignored updates to the tray
This commit is contained in:
@@ -543,7 +543,7 @@ class AppImageManager(SoftwareManager):
|
||||
updates = []
|
||||
if res.installed:
|
||||
for app in res.installed:
|
||||
if app.update:
|
||||
if app.update and not app.is_update_ignored():
|
||||
updates.append(PackageUpdate(pkg_id=app.name, pkg_type='AppImage', version=app.latest_version, name=app.name))
|
||||
|
||||
return updates
|
||||
|
||||
@@ -373,7 +373,7 @@ class FlatpakManager(SoftwareManager):
|
||||
updates = []
|
||||
installed = self.read_installed(None, internet_available=internet_available).installed
|
||||
|
||||
to_update = [p for p in installed if p.update]
|
||||
to_update = [p for p in installed if p.update and not p.is_update_ignored()]
|
||||
|
||||
if to_update:
|
||||
loaders = []
|
||||
|
||||
Reference in New Issue
Block a user