2023/8/28 update

This commit is contained in:
dengrb1
2023-08-28 11:00:35 +08:00
committed by GitHub
parent 111310b94b
commit 90b02bdd4c
4 changed files with 7 additions and 5 deletions

View File

@@ -6,7 +6,6 @@ import os
root = Tk()
ml = os.getcwd()
setting_ml = f"{ml}\setting\\"
file_error = '文件丢失,请重新安装'
@@ -26,10 +25,7 @@ def delete():
def update():
if os.path.exists(os.path.join(setting_ml, "update.pyw")):
subprocess.Popen(f"{setting_ml}update.pyw", shell=True)
else:
messagebox.showerror('system', file_error)
jc("update")
def exit_exe():