File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import json
2+ import os
3+ import re
24from pathlib import Path
35
4- from PyQt6 .QtCore import QDir , QFileInfo
6+ from PyQt6 .QtCore import QDir , QFileInfo , qInfo
57
68import 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
You can’t perform that action at this time.
0 commit comments