mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-03 12:36:37 -05:00
* fix(game-env): resolve store launcher executable from sidecar Store titles launched through .droiddeck-launch.bat passed the wrapper path directly into engine_fixes and other exe-based checks, so stem checks saw .droiddeck-launch and game_files scanned from the install root rather than the executable's folder. For Epic's Batman: Arkham City, Binaries/Win32/BatmanAC.exe sat one level deeper than game_files scans, so arkham_city_x87 never set FEX_X87REDUCEDPRECISION=0. Resolve .droiddeck-launch.bat to the validated exe entry from .droiddeck-store.json when inspecting the game, while keeping the launcher path in the Proton command. * fix(game-env): reject parent segments before normpath in store_game_exe os.path.normpath lexically collapses symlink/../file before the filesystem is consulted, which could validate a different file than a symlinked subdirectory path denotes. Reject any ".." path component after separator normalization before calling os.path.normpath. --------- Co-authored-by: sergeymetallic <[email protected]>