8 Commits

Author SHA1 Message Date
R1kaB3rN
e23ed300ee
ulwgl_run: prefer referencing parent than cwd
- Related to 29827d076f
2024-02-14 09:21:25 -08:00
R1kaB3rN
3bb00480b9
ulwgl_run.py: check dir before creating the symlink
- Setup can fail when creating the symlink if the pfx somehow exists already. One case this can probably happen is if the user references a Steam created prefix as the WINEPREFIX since pfx directory would exist.
2024-02-13 22:04:45 -08:00
R1kaB3rN
4ba702565d
ulwgl_run.py: always recreate the symlink
- Related to https://github.com/Open-Wine-Components/ULWGL-launcher/issues/27
2024-02-13 17:56:25 -08:00
R1kaB3rN
14b323e3dc
Add ULWGL_ID to dict
- Also, update the test to check for expected environment variables in the dictionary. Notably, when a valid ULWGL_ID is set, the STEAM_COMPAT_ID and related env var should be the stripped ULWGL_ID.
2024-02-12 18:20:15 -08:00
R1kaB3rN
6987fde6c3
Change parsing of arguments
- Before, the executable and its options were joined as a single string to be executed. Instead, prefer separating them as distinct arguments. As a result, the command as an Array becomes something like:

['/home/foo/.local/share/ULWGL/ULWGL', '--verb', 'waitforexitandrun', '--', '/home/foo/GE-Proton8-30/proton', 'waitforexitandrun', '/home/foo/foo.exe', '-foo', '-bar', '-baz']
2024-02-12 17:19:58 -08:00
R1kaB3rN
2e8faa1f41
Delete print statements 2024-02-12 00:29:20 -08:00
R1kaB3rN
f73ef0f268
Fix bug that ignores arguments
- After specifying the executable, all arguments following the first were ignored unless they were escaped to be interpreted as part of the first argument.
2024-02-12 00:27:30 -08:00
R1kaB3rN
d6eb1c8484
Rename gamelauncher files 2024-02-12 00:12:29 -08:00