This commit is contained in:
dengrb1
2023-04-28 21:32:51 +08:00
committed by GitHub
parent 7a8cd04b90
commit e29d6fddc3
3 changed files with 28 additions and 6 deletions

View File

@@ -35,12 +35,7 @@ def f1():
pass pass
def lbb(): def lbb():
if os.path.exists("{ml}\chatGPT_web\lbb.exe"): messagebox.showerror('system', '无法使用,已废弃')
os.system("start {ml}\chatGPT_web\lbb.exe")
else:
messagebox.showerror('system', flie_error)
pass
pass
def update(): def update():
if os.path.exists("{ml}\system\\update.exe"): if os.path.exists("{ml}\system\\update.exe"):

27
system/update.pyw Normal file
View File

@@ -0,0 +1,27 @@
from tkinter import *
root = Tk()
def quit_exe():
root.destroy()
pass
# Label
Label(root, text='更新日志').pack()
Label(root, text='''1.0 DEMO制作完成
1.1 demo版本增加lbbAI网站
1.2 demo版本删除lbbAI网站因为无法使用''').pack()
Label(root, text='当前版本:1.2 beta_demo').pack()
# Button
quit_bt = Button(root, text='返回', command=quit_exe).pack()
# mainloop
root.title('更新日志')
root.geometry('260x250+400+400')
root.mainloop()