From 9e30b814f9a1f1db4b50eb2a1b16d36053e9063d Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 30 Apr 2023 18:48:40 +0800 Subject: [PATCH] client --- client.pyw | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client.pyw b/client.pyw index adc1e45..b57138c 100644 --- a/client.pyw +++ b/client.pyw @@ -48,11 +48,12 @@ def quit_exe(): root.destroy() def file_jc(): - if os.path.exists(os.path.join(CURRENT_DIR, "if_file.exe")): - os.system('start if_file.exe') + if os.path.exists(os.path.join(CURRENT_DIR, "jc.exe")): + os.system('start jc.exe') else: messagebox.showerror('sittings', '系统文件丢失,程序出现错误!') - sleep(1) + sleep(0.5) + messagebox.showerror('error','程序出现问题,已经崩溃,错误代码:jc_not_system_file') quit_exe() pass