Update app-manager.py

This commit is contained in:
Aaron Dewes 2022-05-17 19:16:31 +02:00 committed by GitHub
parent fb099120da
commit 8c27cbfa5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,9 +110,12 @@ elif args.action == 'uninstall':
print("App {} is not installed".format(args.app))
exit(1)
print("Stopping app {}...".format(args.app))
try:
compose(args.app, "rm --force --stop")
print("Deleting data...")
deleteData(args.app)
except:
pass
print("Removing from the list of installed apps...")
setRemoved(args.app)
elif args.action == 'stop':