From defbf9021ccf1a2ab3fcc50be50614554075f6c4 Mon Sep 17 00:00:00 2001 From: Hipstercat Date: Mon, 10 Jan 2022 18:45:19 +0100 Subject: [PATCH] fix --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 826fbf6..8573b81 100644 --- a/main.py +++ b/main.py @@ -82,11 +82,11 @@ def start_giants_with_wdefs_bytes(wdefs_bytes: bytes, wdefs_path: Path, giantsma process = QProcess(app) process.finished.connect(giants_finished) + process.setWorkingDirectory(str(giantsmain_path.parent)) btn.setText("Game started") if sys.platform == "win32": process.start(str(giantsmain_path), ["-launcher"]) else: - process.setWorkingDirectory(str(giantsmain_path.parent)) process.start("/home/tasty/.local/share/lutris/runners/wine/lutris-6.0-x86_64/bin/wine", ["/home/tasty/Jeux/Giants Citizen Kabuto1.498/GiantsMain.exe", "-window", "-launcher"])