diff --git a/umu/umu_consts.py b/umu/umu_consts.py index d5d1bfb5..8699926c 100644 --- a/umu/umu_consts.py +++ b/umu/umu_consts.py @@ -109,6 +109,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 20eb764e..b2efb2c9 100644 --- a/umu/umu_util.py +++ b/umu/umu_util.py @@ -364,6 +364,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)