diff --git a/umu/umu_run.py b/umu/umu_run.py index d7f9d743..883e3f2d 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -52,7 +52,6 @@ from umu.umu_runtime import setup_umu from umu.umu_util import ( CompatibilityTool, - SteamRuntime, get_libc, get_library_paths, has_umu_setup, @@ -326,7 +325,7 @@ def build_command( raise FileNotFoundError(err) if env.get("UMU_NO_TOOL") == "1": - runtime = CompatibilityTool(RUNTIME_VERSIONS[RUNTIME_NAMES["sniper"]].path) + runtime = CompatibilityTool(str(RUNTIME_VERSIONS[RUNTIME_NAMES["sniper"]].path), shim) # Will run the game within the Steam Runtime w/o Proton # Ideally, for reliability, executables should be compiled within # the Steam Runtime diff --git a/umu/umu_util.py b/umu/umu_util.py index b2efb2c9..907916c9 100644 --- a/umu/umu_util.py +++ b/umu/umu_util.py @@ -380,7 +380,7 @@ class SteamRuntime(SteamBase): def __init__(self, path: str) -> None: # noqa: D107 super().__init__(path) self.runtime = ( - SteamRuntime(self.required_runtime.path.as_posix()) + SteamRuntime(str(self.required_runtime.path)) if self.required_tool_appid is not None else None )