Skip to content

Commit

Permalink
umu_run: fix flatpak 32-bit path missing in STEAM_RUNTIME_LIBRARY_PATH
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
R1kaB3rN committed Jul 28, 2024
1 parent 0828ffd commit db063a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit db063a0

Please sign in to comment.