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)