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"])