uengine-runner/uengine-clean

13 lines
312 B
Plaintext
Raw 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("帮助:")
2021-08-30 17:49:12 +08:00
print("输入命令即可清空/重置UEngine")
2021-08-18 15:14:40 +08:00
sys.exit(0)
print("参数错误")
sys.exit(1)
sys.exit(os.system("sudo rm -rf /data/uengine"))