diff --git a/CHANGELOG.md b/CHANGELOG.md index de30c3b7..57ce86be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [0.2.0] - 2019-06-18 ### Features - - Management panel shows update commands streams - - Management panel status label is "orange" now +- Management panel shows update commands streams +- Management panel status label is "orange" now + +### Fixes +- Application name not properly showing for Flatpak 1.2.X ## [0.1.0] - 2019-06-14 ### Features - - System tray icon. - - Applications management window. - - Support for the following locales: PT, EN, ES. - - System notification for new updates. - - Update applications. +- System tray icon. +- Applications management window. +- Support for the following locales: PT, EN, ES. +- System notification for new updates. +- Update applications. diff --git a/fpakman/core/flatpak.py b/fpakman/core/flatpak.py index b9fe8dfd..fa9ca0bf 100755 --- a/fpakman/core/flatpak.py +++ b/fpakman/core/flatpak.py @@ -23,7 +23,7 @@ def app_str_to_json(line: str, version: str) -> dict: app['name'] = ref_data[0].split('.')[-1] app['version'] = None elif '1.2' <= version < '1.3': - app = {'name': app_array[0][1].split('.')[-1], + app = {'name': app_array[1].strip().split('.')[-1], 'id': app_array[1], 'version': app_array[2], 'branch': app_array[3],