aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-25 15:45:41 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-25 15:45:41 -0600
commit0e48de1021562679680aaf46a871776a38fca7dd (patch)
tree086399945f979f5de8595dee4b4f50717b851141 /src/plugins
parent3ba65f7cbf81ae47074c5f1f9305ebd97a2769f7 (diff)
Fix process tracking for Wine/Proton game processes
findTrackedProcess was only checking /proc/<pid>/comm to match game executables. This fails for Wine/Proton because: 1. /proc/comm is truncated to 15 chars (TASK_COMM_LEN), so "FalloutNVLauncher.exe" becomes "FalloutNVLaunch" — no match 2. Wine processes show "wine64-preloader" or "start.exe" in comm, not the actual game executable name 3. With UMU_ID set, Proton-GE launches via "start.exe /unix <game>" adding another indirection layer Now also checks /proc/<pid>/cmdline which contains the full untruncated command line including the game .exe path. Handles both Windows-style backslash paths (c:\...\game.exe) and Unix paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions