mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 09:44:15 +02:00
[flatpak] fix: nost listing updates for Flatpak 1.2
This commit is contained in:
@@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- not displaying the filter for any kind of file (*) when updating imported AppImages [#193](https://github.com/vinifmor/bauh/issues/193)
|
- not displaying the filter for any kind of file (*) when updating imported AppImages [#193](https://github.com/vinifmor/bauh/issues/193)
|
||||||
- Flatpak
|
- Flatpak
|
||||||
- not listing installed packages for Flatpak 1.2 [#201](https://github.com/vinifmor/bauh/issues/201)
|
- not listing installed packages for Flatpak 1.2 [#201](https://github.com/vinifmor/bauh/issues/201)
|
||||||
|
- not listing updates for Flatpak 1.2
|
||||||
- UI
|
- UI
|
||||||
- always requesting the password on the initialization dialog when launched by the root user [#195](https://github.com/vinifmor/bauh/issues/195)
|
- always requesting the password on the initialization dialog when launched by the root user [#195](https://github.com/vinifmor/bauh/issues/195)
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ from bauh.commons.boot import CreateConfigFile
|
|||||||
from bauh.commons.html import strip_html, bold
|
from bauh.commons.html import strip_html, bold
|
||||||
from bauh.commons.system import ProcessHandler
|
from bauh.commons.system import ProcessHandler
|
||||||
from bauh.gems.flatpak import flatpak, SUGGESTIONS_FILE, CONFIG_FILE, UPDATES_IGNORED_FILE, CONFIG_DIR, EXPORTS_PATH, \
|
from bauh.gems.flatpak import flatpak, SUGGESTIONS_FILE, CONFIG_FILE, UPDATES_IGNORED_FILE, CONFIG_DIR, EXPORTS_PATH, \
|
||||||
get_icon_path, VERSION_1_5, VERSION_1_4
|
get_icon_path, VERSION_1_5, VERSION_1_2
|
||||||
from bauh.gems.flatpak.config import FlatpakConfigManager
|
from bauh.gems.flatpak.config import FlatpakConfigManager
|
||||||
from bauh.gems.flatpak.constants import FLATHUB_API_URL
|
from bauh.gems.flatpak.constants import FLATHUB_API_URL
|
||||||
from bauh.gems.flatpak.model import FlatpakApplication
|
from bauh.gems.flatpak.model import FlatpakApplication
|
||||||
@@ -143,7 +143,7 @@ class FlatpakManager(SoftwareManager):
|
|||||||
models.append(model)
|
models.append(model)
|
||||||
|
|
||||||
if update_map and (update_map['full'] or update_map['partial']):
|
if update_map and (update_map['full'] or update_map['partial']):
|
||||||
if version >= VERSION_1_4:
|
if version >= VERSION_1_2:
|
||||||
update_id = '{}/{}/{}'.format(app_json['id'], app_json['branch'], app_json['installation'])
|
update_id = '{}/{}/{}'.format(app_json['id'], app_json['branch'], app_json['installation'])
|
||||||
|
|
||||||
if update_map['full'] and update_id in update_map['full']:
|
if update_map['full'] and update_id in update_map['full']:
|
||||||
|
|||||||
Reference in New Issue
Block a user