Skip to content

Commit 68035a4

Browse files
committed
there
1 parent cbcdd72 commit 68035a4

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

games/game_darkestdungeon.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import json
2+
import os
3+
import re
24
from pathlib import Path
35

4-
from PyQt6.QtCore import QDir, QFileInfo
6+
from PyQt6.QtCore import QDir, QFileInfo, qInfo
57

68
import mobase
79

@@ -186,19 +188,19 @@ def executables(self) -> list[mobase.ExecutableInfo]:
186188
mobase.ExecutableInfo(
187189
f"{game_name} Steam x64",
188190
QFileInfo(game_dir, "_windows/win64/Darkest.exe"),
189-
),
191+
).withWorkingDirectory(game_dir),
190192
mobase.ExecutableInfo(
191193
f"{game_name} x64",
192194
QFileInfo(game_dir, "_windowsnosteam/win64/Darkest.exe"),
193-
),
195+
).withWorkingDirectory(game_dir),
194196
mobase.ExecutableInfo(
195197
f"{game_name} Steam x32",
196198
QFileInfo(game_dir, "_windows/win32/Darkest.exe"),
197-
),
199+
).withWorkingDirectory(game_dir),
198200
mobase.ExecutableInfo(
199201
f"{game_name} x32",
200202
QFileInfo(game_dir, "_windowsnosteam/win32/Darkest.exe"),
201-
),
203+
).withWorkingDirectory(game_dir),
202204
]
203205

204206
@staticmethod

0 commit comments

Comments
 (0)