fix
This commit is contained in:
parent
33da827626
commit
defbf9021c
2
main.py
2
main.py
@ -82,11 +82,11 @@ def start_giants_with_wdefs_bytes(wdefs_bytes: bytes, wdefs_path: Path, giantsma
|
|||||||
|
|
||||||
process = QProcess(app)
|
process = QProcess(app)
|
||||||
process.finished.connect(giants_finished)
|
process.finished.connect(giants_finished)
|
||||||
|
process.setWorkingDirectory(str(giantsmain_path.parent))
|
||||||
btn.setText("Game started")
|
btn.setText("Game started")
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
process.start(str(giantsmain_path), ["-launcher"])
|
process.start(str(giantsmain_path), ["-launcher"])
|
||||||
else:
|
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"])
|
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"])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user