From a65d5e27271eb2af07922b8e203e4d50e61b7c49 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Wed, 5 Jun 2024 11:48:51 -0700 Subject: [PATCH] umu_run: fix not setting EXE and STEAM_COMPAT_INSTALL_PATH - Without these variables set, winetricks will be missing and will result in a 'ShellExecuteEx failed: File not found' error. --- umu/umu_run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umu/umu_run.py b/umu/umu_run.py index 53df066c..1702561b 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -229,6 +229,8 @@ def set_env( ) log.debug("EXE: %s -> %s", args[0], bin) args: tuple[str, list[str]] = (bin, args[1]) + env["EXE"] = bin + env["STEAM_COMPAT_INSTALL_PATH"] = Path(env["EXE"]).parent.as_posix() elif isinstance(args, tuple): try: env["EXE"] = (