From ec4817a226fa490e2f60096fe85bebe07499cf59 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Sun, 27 Aug 2023 11:49:04 +0800 Subject: [PATCH] 2023/8/27 update --- game_install.pyw | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/game_install.pyw b/game_install.pyw index 15eab78..b4c39ac 100644 --- a/game_install.pyw +++ b/game_install.pyw @@ -52,7 +52,8 @@ def arcade(): os.system(f'pip install arcade {i}') messagebox.showinfo(install, ok) def fh(): - sys.exit() + root.destroy() + exit() pass @@ -68,7 +69,7 @@ bt_arcade = Button(frame, text='arcade安装', command=arcade) bt_pyopengl = Button(frame, text='pyopenGL安装', command=pyopengl) # pack -Label(root, text='游戏库安装') +Label(root, text='游戏库安装').pack() bt_fh.pack() bt_pygame.pack() bt_pyopengl.pack()