AppImage info

This commit is contained in:
Vinicius Moreira
2019-10-07 18:46:21 -03:00
parent 02ef68ece7
commit 9347561f57
10 changed files with 29 additions and 18 deletions

View File

@@ -74,6 +74,7 @@ class AppImageManager(SoftwareManager):
if path:
with open(path) as f:
app = AppImage(installed=True, **json.loads(f.read()))
app.icon_url = app.icon_path
res.installed.append(app)
@@ -108,8 +109,7 @@ class AppImageManager(SoftwareManager):
pass
def get_info(self, pkg: AppImage) -> dict:
# TODO
pass
return pkg.get_data_to_cache()
def get_history(self, pkg: AppImage) -> PackageHistory:
# TODO