Skip to content
Snippets Groups Projects
Commit 99115af1 authored by Simon McVittie's avatar Simon McVittie
Browse files

slr-for-game-developers: Mention that sniper includes Python 3


Python has fewer sharp edges than shell scripts, so this might be
appealing for games' startup scripts. Proton already relies on it.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent b2a2a20e
No related branches found
No related tags found
No related merge requests found
......@@ -1300,6 +1300,14 @@ The legacy [`LD_LIBRARY_PATH`-based scout runtime][ldlp-runtime]
cannot guarantee the presence of anything beyond basic shell utilities
either.
Titles that are configured to run in Steam Linux Runtime 3.0 (sniper)
can include Python scripts,
starting with `#!/usr/bin/env python3` or `#!/usr/bin/python3`,
as an alternative to shell scripts.
sniper includes Python 3.9 and most of the standard library
(except for a few larger modules like `tk`),
but does not include external modules like `pip`.
<!-- References: -->
[Application.persistentDataPath]: https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment