This commit is contained in:
dengrb1
2023-05-05 18:06:59 +08:00
committed by GitHub
parent 9f10488060
commit 84cf0deead
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ def open_exe(exe_name):
if exe_name == None:
messagebox.showerror('程序错误:没有参数')
pass
if os.path.exists(ml, f"{exe_name}.exe"):
if os.path.exists(os.path.join(ml, f"{exe_name}.exe")):
os.system(f"start {exe_name}.exe")
else:
messagebox.showerror('chatWEB', '重要文件丢失,请重新安装')