2023-05-06 13:33:53 +08:00
|
|
|
|
"""基本上,这个文件都是已经提前写好了下一个版本的内容的
|
|
|
|
|
之后几天基本上都会发布最新版本的内容的"""
|
|
|
|
|
|
2023-04-07 23:17:25 +08:00
|
|
|
|
from tkinter import *
|
2023-05-05 12:18:46 +08:00
|
|
|
|
from tkinter.scrolledtext import ScrolledText
|
2023-05-06 13:33:53 +08:00
|
|
|
|
import webbrowser
|
|
|
|
|
from tkinter import messagebox
|
2023-04-07 23:17:25 +08:00
|
|
|
|
|
2023-05-06 13:33:53 +08:00
|
|
|
|
root = Tk()
|
2023-04-07 23:17:25 +08:00
|
|
|
|
|
2023-05-06 13:33:53 +08:00
|
|
|
|
def quit_exe():
|
|
|
|
|
root.destroy()
|
|
|
|
|
def update_now():
|
2023-05-08 21:29:20 +08:00
|
|
|
|
webbrowser.open("https://kgithub.com/dengrb1/pip-helper/releases/")
|
2023-05-06 13:33:53 +08:00
|
|
|
|
messagebox.showinfo('update', '请选择最新版本并下载运行安装程序,然后就可以更新了!')
|
2023-04-07 23:17:25 +08:00
|
|
|
|
|
2023-05-06 13:33:53 +08:00
|
|
|
|
# Label
|
|
|
|
|
update_now_bt = Button(root ,text='在线更新', command=update_now).pack(side=RIGHT)
|
|
|
|
|
quit_bt = Button(root, text='返回', command=quit_exe).pack(side=RIGHT)
|
|
|
|
|
Label(root, text='更新日志').pack()
|
|
|
|
|
text = '''0.1.0 暂无日志
|
|
|
|
|
1.0 正式版本。修复BUG;改正更新日志显示问题
|
2023-05-06 22:55:48 +08:00
|
|
|
|
1.1 加入机器学习库安装;修复BUG;删除“关于”模块
|
2023-05-07 10:01:10 +08:00
|
|
|
|
1.2 加入更多可视化库,都在gui安装和删除类里面;修复一些BUG
|
2023-05-08 20:40:48 +08:00
|
|
|
|
1.2.1 加入机器学习库——openai;修复BUG;一键安装所有库正在试验中......
|
2023-05-08 22:05:16 +08:00
|
|
|
|
1.3 加入更多GUI库,比如:pyside6, kivy等等;修复一些BUG
|
2023-05-10 18:23:45 +08:00
|
|
|
|
1.4 加入pip安装检测;加入更多web类库;修复一些BUG
|
2023-05-05 12:18:46 +08:00
|
|
|
|
|
2023-05-10 18:23:45 +08:00
|
|
|
|
当前版本:1.4 (Not beta or demo)'''
|
2023-05-05 12:18:46 +08:00
|
|
|
|
|
2023-05-06 13:33:53 +08:00
|
|
|
|
text_box = ScrolledText(root)
|
|
|
|
|
text_box.pack(fill=BOTH, expand=1)
|
2023-05-05 12:18:46 +08:00
|
|
|
|
text_box.insert(END, text)
|
|
|
|
|
text_box.configure(state='disabled')
|
|
|
|
|
|
2023-04-07 23:17:25 +08:00
|
|
|
|
|
2023-05-06 13:33:53 +08:00
|
|
|
|
# mainloop
|
|
|
|
|
root.title('更新日志')
|
|
|
|
|
root.geometry('355x250+400+400')
|
|
|
|
|
root.mainloop()
|