Convert executables to strings at init time

This commit is contained in:
kramo
2023-06-17 15:35:43 +02:00
parent b2b1780374
commit 8eb203cb06
3 changed files with 8 additions and 15 deletions

View File

@@ -35,9 +35,9 @@ Stored as a Unix time stamp.
The executable to run when launching a game.
If the source has a URL handler, using that is preferred. In that case, the value should be `["xdg-open", "url://example/url"]` for Linux and `["start", "url://example/url"]` for Windows.
If the source has a URL handler, using that is preferred. In that case, the value should be `"xdg-open url://example/url"` for Linux and `"start url://example/url"` for Windows.
Stored as either a string or an argument vector to be passed to the shell through [subprocess.Popen](https://docs.python.org/3/library/subprocess.html#popen-constructor).
Stored as either a string (preferred) or an argument vector to be passed to the shell through [subprocess.Popen](https://docs.python.org/3/library/subprocess.html#popen-constructor).
### game_id