更新了UEngine的Ubuntu安装程序

This commit is contained in:
2022-06-19 21:04:16 +08:00
parent c030ab2c16
commit b7f01d0ff6
3 changed files with 31 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python3
#########################################
# 版本1.4.2
# 更新时间2021年08月30
# 版本1.6.2
# 更新时间2022年06月19
#########################################
import os
import sys
@@ -43,7 +43,6 @@ if os.geteuid() != 0:
window = tk.Tk()
style = ttkthemes.ThemedStyle(window)
style.set_theme("breeze")
window.overrideredirect(1)
window.withdraw()
try:
if sys.argv[1] == "1" and messagebox.askokcancel(title="提示", message="你确定要删除吗?"):