diff --git a/umu/umu_consts.py b/umu/umu_consts.py index 61905020..b95e8b38 100644 --- a/umu/umu_consts.py +++ b/umu/umu_consts.py @@ -110,6 +110,9 @@ def __post_init__(self) -> None: # noqa: D105 return if self.path is None: self.path = UMU_LOCAL.joinpath(self.name) + # Temporary override for backwards compatibility + if self.version == "steamrt3": + self.path = UMU_LOCAL RUNTIME_VERSIONS = { diff --git a/umu/umu_util.py b/umu/umu_util.py index 621105dc..301d3e53 100644 --- a/umu/umu_util.py +++ b/umu/umu_util.py @@ -373,6 +373,9 @@ def command(self, verb: str) -> list[str]: """Return the tool specific entry point.""" tool_path = os.path.normpath(self.tool_path) cmd = "".join([shlex.quote(tool_path), self.tool_manifest["commandline"]]) + # Temporary override for backwards compatibility + if self.tool_path == str(UMU_LOCAL): + cmd = cmd.replace("_v2-entry-point", "umu") cmd = cmd.replace("%verb%", verb) return shlex.split(cmd)