Reflect app uninstall/update auto-stop implemented for spoc#3
This commit is contained in:
parent
f6c7823b6a
commit
17743ff767
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user