mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
Support for flatpak 1.2
This commit is contained in:
@@ -9,6 +9,7 @@ It has also a management window allowing the user to see all installed apllicati
|
|||||||
- Python >= 3.5
|
- Python >= 3.5
|
||||||
- qt5 packages
|
- qt5 packages
|
||||||
- libappindicator3 (for GTK3 desktop environments)
|
- libappindicator3 (for GTK3 desktop environments)
|
||||||
|
- python3-venv (for Debian based distros -> Ubuntu, Linux Mint, ...)
|
||||||
|
|
||||||
## Installation script
|
## Installation script
|
||||||
You can install the application without compromising your system via the provided installation script called 'sandbox_installer.py'.
|
You can install the application without compromising your system via the provided installation script called 'sandbox_installer.py'.
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ def app_str_to_json(line: str, version: str) -> dict:
|
|||||||
'id': app_array[1],
|
'id': app_array[1],
|
||||||
'version': app_array[2],
|
'version': app_array[2],
|
||||||
'branch': app_array[3]}
|
'branch': app_array[3]}
|
||||||
elif '1.0' <= version < '1.3':
|
elif '1.0' <= version < '1.1':
|
||||||
app = {'ref': app_array[0], 'options': app_array[1]}
|
app = {'ref': app_array[0], 'options': app_array[1]}
|
||||||
|
|
||||||
ref_data = app['ref'].split('/')
|
ref_data = app['ref'].split('/')
|
||||||
@@ -22,6 +22,13 @@ def app_str_to_json(line: str, version: str) -> dict:
|
|||||||
app['branch'] = ref_data[2]
|
app['branch'] = ref_data[2]
|
||||||
app['name'] = ref_data[0].split('.')[-1]
|
app['name'] = ref_data[0].split('.')[-1]
|
||||||
app['version'] = None
|
app['version'] = None
|
||||||
|
elif '1.2' <= version < '1.3':
|
||||||
|
app = {'name': app_array[0][1].split('.')[-1],
|
||||||
|
'id': app_array[1],
|
||||||
|
'version': app_array[2],
|
||||||
|
'branch': app_array[3],
|
||||||
|
'arch': app_array[4],
|
||||||
|
'origin': app_array[5]}
|
||||||
else:
|
else:
|
||||||
raise Exception('Unsupported version')
|
raise Exception('Unsupported version')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user