From 808471c330927cdd754ebebaacca25ad4da12400 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Tue, 11 Jul 2023 10:08:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E5=A4=B1.start()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.py b/mainwindow.py index 4e7dd24..2805ac2 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -3014,8 +3014,8 @@ installLib.addAction(runnerlibinfo) installLib.addAction(statusRunnerLib) installLib.addAction(installRunnerLib) installLib.addAction(removeRunnerLib) -installRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/install.sh'"])) -removeRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/install.sh'"])) +installRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/install.sh'"]).start()) +removeRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/install.sh'"]).start()) if os.path.exists(f"{programPath}/WineLib/usr/lib/ld-linux-x86-64.so.2"): installRunnerLib.setDisabled(True) removeRunnerLib.setEnabled(True)