缺失.start()

This commit is contained in:
gfdgd xi 2023-07-11 10:08:14 +08:00
parent cf0be8a2f1
commit 808471c330

View File

@ -3014,8 +3014,8 @@ installLib.addAction(runnerlibinfo)
installLib.addAction(statusRunnerLib) installLib.addAction(statusRunnerLib)
installLib.addAction(installRunnerLib) installLib.addAction(installRunnerLib)
installLib.addAction(removeRunnerLib) installLib.addAction(removeRunnerLib)
installRunnerLib.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'"])) 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"): if os.path.exists(f"{programPath}/WineLib/usr/lib/ld-linux-x86-64.so.2"):
installRunnerLib.setDisabled(True) installRunnerLib.setDisabled(True)
removeRunnerLib.setEnabled(True) removeRunnerLib.setEnabled(True)