mirror of
https://github.com/lutris/lutris
synced 2024-09-05 23:46:21 +00:00
Respect runtime environment in runtime.get_env
This commit is contained in:
parent
9f8b9fefc7
commit
dea1c7d189
|
@ -105,6 +105,9 @@ class RuntimeUpdater:
|
|||
|
||||
def get_env():
|
||||
"""Return a dict containing LD_LIBRARY_PATH and STEAM_RUNTIME env vars."""
|
||||
if is_disabled():
|
||||
return {}
|
||||
|
||||
steam_runtime_dir = os.path.join(RUNTIME_DIR, 'steam')
|
||||
ld_library_path = ':'.join(get_paths()) + ':$LD_LIBRARY_PATH'
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue