mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
Fix: Flatpak 1.2.X application names not showing properly
This commit is contained in:
17
CHANGELOG.md
17
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.
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user