Skip to content

Commit

Permalink
ulwgl_plugins: ensure no duplicate paths for STEAM_RUNTIME_LIBRARY_PATH
Browse files Browse the repository at this point in the history
- This ensures that there are no duplicates when the launchers adds its default hard coded library paths ontop of what distributions or other runtime platforms may set via the LD_LIBRARY_PATH environment variable.
  • Loading branch information
R1kaB3rN committed Mar 20, 2024
1 parent 05a0bee commit 5c003d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ULWGL/ulwgl_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def enable_steam_game_drive(env: Dict[str, str]) -> Dict[str, str]:
break

if "LD_LIBRARY_PATH" in environ:
paths.add(Path(environ["LD_LIBRARY_PATH"]).as_posix())
paths = {path for path in environ["LD_LIBRARY_PATH"].split(":")}

if env["STEAM_COMPAT_INSTALL_PATH"]:
paths.add(env["STEAM_COMPAT_INSTALL_PATH"])
Expand Down

0 comments on commit 5c003d1

Please sign in to comment.