From e29d6fddc3a2691e12286e79ffc19718d2f05969 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Fri, 28 Apr 2023 21:32:51 +0800 Subject: [PATCH] chatGPT --- lbb.pyw => chatGPT_web/lbb.pyw | 0 main.pyw => client.pyw | 7 +------ system/update.pyw | 27 +++++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 6 deletions(-) rename lbb.pyw => chatGPT_web/lbb.pyw (100%) rename main.pyw => client.pyw (85%) create mode 100644 system/update.pyw diff --git a/lbb.pyw b/chatGPT_web/lbb.pyw similarity index 100% rename from lbb.pyw rename to chatGPT_web/lbb.pyw diff --git a/main.pyw b/client.pyw similarity index 85% rename from main.pyw rename to client.pyw index aea99f5..374fc75 100644 --- a/main.pyw +++ b/client.pyw @@ -35,12 +35,7 @@ def f1(): pass def lbb(): - if os.path.exists("{ml}\chatGPT_web\lbb.exe"): - os.system("start {ml}\chatGPT_web\lbb.exe") - else: - messagebox.showerror('system', flie_error) - pass - pass + messagebox.showerror('system', '无法使用,已废弃') def update(): if os.path.exists("{ml}\system\\update.exe"): diff --git a/system/update.pyw b/system/update.pyw new file mode 100644 index 0000000..4a5897c --- /dev/null +++ b/system/update.pyw @@ -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() \ No newline at end of file