Added USER_ID and DECKY_USER_ID env vars

This commit is contained in:
TrainDoctor 2023-03-05 16:39:28 -08:00 committed by GitHub
parent 16f44fc8b1
commit 6df09f9fcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,14 @@ It would be `root` if `root` was specified in the plugin's flags otherwise the u
e.g.: `deck` e.g.: `deck`
""" """
USER_ID: int
"""
The effective UID running the process.
Environment variable: `UID`.
It would be `0` if `root` was specified in the plugin's flags otherwise the id of the user whose home decky resides in.
e.g.: `1000`
"""
DECKY_VERSION: str DECKY_VERSION: str
""" """
The version of the decky loader. The version of the decky loader.
@ -50,6 +58,13 @@ Environment variable: `DECKY_USER`.
e.g.: `deck` e.g.: `deck`
""" """
DECKY_USER_ID: int
"""
The UID of the user whose home decky resides in.
Environment variable: `DECKY_USER_ID`.
e.g.: `1000`
"""
DECKY_USER_HOME: str DECKY_USER_HOME: str
""" """
The home of the user where decky resides in. The home of the user where decky resides in.