mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
Fix to work with flatpak 1.0
This commit is contained in:
@@ -47,10 +47,10 @@ class FlatpakManager:
|
||||
pak_data = None
|
||||
|
||||
if not pak_data:
|
||||
pak['latest_release'] = None
|
||||
pak['latest_version'] = None
|
||||
pak['icon'] = None
|
||||
else:
|
||||
pak['latest_release'] = pak_data['currentReleaseVersion']
|
||||
pak['latest_version'] = pak_data['currentReleaseVersion']
|
||||
pak['icon'] = pak_data['iconDesktopUrl']
|
||||
|
||||
if pak['icon'].startswith('/'):
|
||||
|
||||
Reference in New Issue
Block a user