From 17743ff767e2cf7a4178fb4ae9a32384b9a2ff16 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sun, 26 Apr 2020 18:43:27 +0200 Subject: [PATCH] Reflect app uninstall/update auto-stop implemented for spoc#3 --- usr/lib/python3.8/vmmgr/actionqueue.py | 2 -- usr/lib/python3.8/vmmgr/vmmgr.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/usr/lib/python3.8/vmmgr/actionqueue.py b/usr/lib/python3.8/vmmgr/actionqueue.py index 484cd56..158a30b 100644 --- a/usr/lib/python3.8/vmmgr/actionqueue.py +++ b/usr/lib/python3.8/vmmgr/actionqueue.py @@ -49,13 +49,11 @@ class ActionAppQueue: self.queue.append(ActionItem(ActionItemType.APP_INSTALL, app.name, app.install)) def update_app(self, app): - self.queue.append(ActionItem(ActionItemType.APP_STOP, app.name, app.stop)) self.queue.append(ActionItem(ActionItemType.APP_DOWNLOAD, app.name, app.download)) self.queue.append(ActionItem(ActionItemType.APP_UNPACK, app.name, app.unpack_downloaded)) self.queue.append(ActionItem(ActionItemType.APP_UPDATE, app.name, app.update)) def uninstall_app(self, app): - self.queue.append(ActionItem(ActionItemType.APP_STOP, app.name, app.stop)) self.queue.append(ActionItem(ActionItemType.APP_UNINSTALL, app.name, app.uninstall)) def start_app(self, app): diff --git a/usr/lib/python3.8/vmmgr/vmmgr.py b/usr/lib/python3.8/vmmgr/vmmgr.py index 7f76a8b..f0076c4 100644 --- a/usr/lib/python3.8/vmmgr/vmmgr.py +++ b/usr/lib/python3.8/vmmgr/vmmgr.py @@ -20,7 +20,7 @@ def register_app(app, host, login, password): 'host': host, 'login': login if login else 'N/A', 'password': password if password else 'N/A', - 'visible': False, + 'visible': True, }) register_proxy(app) update_app_config(app)