diff --git a/ULWGL/ulwgl_plugins.py b/ULWGL/ulwgl_plugins.py index c57893a46..7c65b383d 100644 --- a/ULWGL/ulwgl_plugins.py +++ b/ULWGL/ulwgl_plugins.py @@ -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"])