uengine-runner/uengine-app-uninstall

13 lines
377 B
Plaintext
Raw Permalink Normal View History

2021-08-18 15:14:40 +08:00
#!/usr/bin/env python3
import os
import sys
import updatekiller
2021-08-18 15:14:40 +08:00
if len(sys.argv) > 1:
if sys.argv[1] == "--help":
print("帮助:")
print("uengine-app-uninstall apk包名")
sys.exit(0)
sys.exit(os.system("sudo /usr/bin/uengine-session-launch-helper -- uengine uninstall --pkg='{}'".format(sys.argv[1])))
print("命令参数错误")
sys.exit(1)