From db063a02caaaea1ad8ed7ce1133c028c18d47fa2 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Sun, 28 Jul 2024 13:18:49 -0700 Subject: [PATCH] umu_run: fix flatpak 32-bit path missing in STEAM_RUNTIME_LIBRARY_PATH - When running the umu flatpak, the 32-bit library path '/usr/lib/x86_64-linux-gnu' would not be added to STEAM_RUNTIME_LIBRARY_PATH bbecause it failed to meet the condition of not being a symbolic link. However, when verifying the path after entering the flatpak container, the path is a directory which is contradictory. In any case, to ensure the 32-bit is added, all paths will be resolved --- umu/umu_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umu/umu_run.py b/umu/umu_run.py index e87398a39..57d0c6200 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -367,7 +367,7 @@ def enable_steam_game_drive(env: dict[str, str]) -> dict[str, str]: # Set the shared library paths of the system after finding libc.so for rtpath in steamrt_paths: - if not Path(rtpath).is_symlink() and Path(rtpath, libc).is_file(): + if Path(rtpath, libc).resolve().is_file(): paths.add(rtpath) env["STEAM_RUNTIME_LIBRARY_PATH"] = ":".join(paths)