Fix some games not functioning unless launched from the container
Merged
BO
1y ago+29+29+01234567890123456789-7-7-0123456789
Allows overriding the working directory of programs launched by the ProgramLauncherComponents and sets it to the directory of the executable defined by the executable path.
For example, if the executable path is SomeFolder/Game.exe, the working directory will be inside SomeFolder to match the behaviour of launching from the file explorer. if the executable path is Game.exe, the working directory will be in the folder that corresponds with the A drive.
If you have any issues with how I implemented it please let me know so I can fix them :)
Before changes:
https://github.com/user-attachments/assets/2ac56974-3ee3-421c-9aba-033a92105b0b
After changes:
https://github.com/user-attachments/assets/2969a0af-dae3-46d8-9edd-1c975615035b