This commit is contained in:
dengrb1 2023-05-06 13:16:09 +08:00 committed by GitHub
parent ea3b4153b6
commit 4fe5a716f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,8 @@ root_1 = 'pip uninstall'
ok = '安装完成'
ok2 = '删除完成'
uninstall = 'pip uninstall'
ml = os.getcwd()
file_error = '文件丢失,请重新安装'
def open_exe(exe_name):

View File

@ -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:

View File

@ -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)