更新postinst和postrm

新文件:   com.gitee.uengine.runner.spark.deb
This commit is contained in:
2023-01-16 13:43:30 +08:00
parent 4862b7c464
commit db6cc69be3
37 changed files with 1568 additions and 59 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import os
import sys
import updatekiller
if len(sys.argv) > 1:
if sys.argv[1] == "--help":
print("帮助:")
@@ -8,4 +9,4 @@ if len(sys.argv) > 1:
sys.exit(0)
sys.exit(os.system("sudo /usr/bin/uengine-session-launch-helper -- uengine install --apk='{}'".format(sys.argv[1])))
print("命令参数错误")
sys.exit(1)
sys.exit(1)