This commit is contained in:
dengrb1
2023-05-04 21:53:31 +08:00
committed by GitHub
parent f96261f4fe
commit bcabdf35cc

View File

@@ -17,12 +17,7 @@ def jc(exe_name):
pass pass
def gk(): def gk():
if os.path.exists(os.path.join(ml, "gk.exe")): jc('gk')
os.system("start gk.exe")
else:
messagebox.showerror('sittings', '系统文件丢失!请重新安装')
pass
pass
def update(): def update():
jc("update") jc("update")
@@ -35,7 +30,7 @@ def fh():
Label(root, text='其他内容').pack() Label(root, text='其他内容').pack()
bt_update = Button(root, text='更新日志', command=update).pack() bt_update = Button(root, text='更新日志', command=update).pack()
bt_gk = Button(root, text='关于', command=gk).pack() bt_gk = Button(root, text='关于', command=gk).pack()
bt_fh = Button(root, text='返回', command=gh).pack() bt_fh = Button(root, text='返回', command=fh).pack()
# mainloop # mainloop