Skip to content

Commit

Permalink
umu_run: fix not setting EXE and STEAM_COMPAT_INSTALL_PATH
Browse files Browse the repository at this point in the history
- Without these variables set, winetricks will be missing and will result in a 'ShellExecuteEx failed: File not found' error.
  • Loading branch information
R1kaB3rN committed Jun 5, 2024
1 parent 2b43f99 commit a65d5e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = (
Expand Down

0 comments on commit a65d5e2

Please sign in to comment.