chatWEB
This commit is contained in:
parent
ea3b4153b6
commit
4fe5a716f1
@ -8,6 +8,8 @@ root_1 = 'pip uninstall'
|
||||
ok = '安装完成'
|
||||
ok2 = '删除完成'
|
||||
uninstall = 'pip uninstall'
|
||||
ml = os.getcwd()
|
||||
file_error = '文件丢失,请重新安装'
|
||||
|
||||
|
||||
def open_exe(exe_name):
|
||||
|
@ -11,7 +11,7 @@ file_error = '文件丢失,请重新安装'
|
||||
|
||||
|
||||
|
||||
def open_exe():
|
||||
def open_exe(exe_name):
|
||||
if os.path.exists(os.path.join(ml, f"{exe_name}.exe")):
|
||||
os.system(f"start {exe_name}.exe")
|
||||
else:
|
||||
|
@ -15,7 +15,6 @@ pyqt5库编写浏览器的问题
|
||||
当前版本:0.1.0"""
|
||||
|
||||
text_box = ScrolledText(update)
|
||||
text_box.pack(fill=BOTH, expand=1)
|
||||
text_box.insert(END, text)
|
||||
text_box.configure(state='disabled')
|
||||
|
||||
@ -29,6 +28,7 @@ def quit_update():
|
||||
update.destroy()
|
||||
pass
|
||||
# 按钮设置
|
||||
text_box.pack(fill=BOTH, expand=1, side=RIGHT)
|
||||
update_now_bt = Button(update, text='更新到最新版本', command=update_now).pack(side=RIGHT)
|
||||
quit_window_bt = Button(update, text='返回', command=quit_update).pack(side=RIGHT)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user