From 7ff7233b80b60bd91c1b878fadaf1e4dec78592f Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Thu, 4 May 2023 21:40:53 +0800 Subject: [PATCH] update --- update.pyw | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/update.pyw b/update.pyw index b950f75..9e18636 100644 --- a/update.pyw +++ b/update.pyw @@ -1,17 +1,14 @@ from tkinter import * - +from tkinter.scrolledtext import ScrolledText root = Tk() - def quit_exe(): root.destroy() - pass - # Label Label(root, text='更新日志').pack() -Label(root, text='''0.1.0 DEMO制作完成 +text = '''0.1.0 DEMO制作完成 0.1.1 demo版本增加lbbAI网站 0.1.2 demo版本删除lbbAI网站,因为无法使用 0.1.3 修复BUG @@ -19,15 +16,21 @@ Label(root, text='''0.1.0 DEMO制作完成 的问题 1.0.1 修复BUG:移除“检查文件完整度”程序使用 (可以在github仓库的old文件夹里面看;修复其他BUG...... -1.1 修复BUG;紧急修复Windows7无法使用情况!;重新修正UI界面 ''').pack() +1.1 修复BUG;紧急修复Windows7无法使用情况!;重新修正UI界面 +1.1.1 更新chatGPT网站;修改update文本显示设置 + +当前版本:1.1 (Not beta or demo)''' + +text_box = ScrolledText(root) +text_box.pack(fill=BOTH, expand=1) +text_box.insert(END, text) +text_box.configure(state='disabled') -Label(root, text='当前版本:1.1 (Not beta or demo)').pack() # Button quit_bt = Button(root, text='返回', command=quit_exe).pack() - # mainloop root.title('更新日志') root.geometry('355x250+400+400') -root.mainloop() \ No newline at end of file +root.mainloop()