From a6c065efb658fcc78716c31f410a101b37258c6b Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Fri, 5 Nov 2021 13:48:51 -0300 Subject: [PATCH] [flatpak] fix: not listing installed packages for Flatpak 1.2 --- CHANGELOG.md | 2 ++ bauh/gems/flatpak/flatpak.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72c3ebe3..7a7b44a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixes - AppImage - not displaying the filter for any kind of file (*) when updating imported AppImages [#193](https://github.com/vinifmor/bauh/issues/193) +- Flatpak + - not listing installed packages for Flatpak 1.2 [#201](https://github.com/vinifmor/bauh/issues/201) - UI - always requesting the password on the initialization dialog when launched by the root user [#195](https://github.com/vinifmor/bauh/issues/195) diff --git a/bauh/gems/flatpak/flatpak.py b/bauh/gems/flatpak/flatpak.py index b9240c64..b185ea42 100755 --- a/bauh/gems/flatpak/flatpak.py +++ b/bauh/gems/flatpak/flatpak.py @@ -93,7 +93,7 @@ def get_commit(app_id: str, branch: str, installation: str) -> Optional[str]: def list_installed(version: Version) -> List[dict]: apps = [] - if version < VERSION_1_3: + if version < VERSION_1_2: app_list = new_subprocess(['flatpak', 'list', '-d']) for o in app_list.stdout: