This commit is contained in:
dengrb1
2023-04-29 13:02:39 +08:00
committed by GitHub
parent ac7f1a0a29
commit eb9be60dc6
4 changed files with 8 additions and 27 deletions

View File

@@ -22,10 +22,7 @@ def wuguokai():
open_exe("wuguokai")
def f1():
open_exe("f1")
def lbb():
open_exe("lbb")
open_exe("aiyunos")
def update():
if os.path.exists(os.path.join(CURRENT_DIR, "update.exe")):
@@ -52,7 +49,7 @@ tk.Label(root, text='chatGPT').pack()
bt_w = tk.Button(root, text='wuguokai网站', command=wuguokai)
bt_e = tk.Button(root, text='extkj网站', command=extkj)
bt_f1 = tk.Button(root, text='f1网站', command=f1)
bt_f1 = tk.Button(root, text='aitianhu网站', command=f1)
bt_xy = tk.Button(root, text='使用协议(使用前必看)', command=user_xy)
bt_update = tk.Button(root, text='更新日志', command=update)
quit_bt = tk.Button(root, text='退出', command=quit_exe)
@@ -60,9 +57,9 @@ quit_bt = tk.Button(root, text='退出', command=quit_exe)
bt_w.pack()
bt_e.pack()
bt_f1.pack()
bt_xy.pack()
# bt_xy.pack()
bt_update.pack()
quit_bt.pack()
# mainloop
root.mainloop()
root.mainloop()