Skip to content

Commit

Permalink
umu_run: do not force the runtime for winetricks if UMU_NO_RUNTIME
Browse files Browse the repository at this point in the history
…is set
  • Loading branch information
loathingKernel committed Feb 25, 2025
1 parent 30afc73 commit 806e940
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,10 @@ def build_command(
if env.get("EXE", "").endswith("winetricks") and opts:
# The position of arguments matter for winetricks
# Usage: ./winetricks [options] [command|verb|path-to-verb] ...
runtime_cmd: list[str|Path] = [entry_point, "--verb", env["PROTON_VERB"], "--"] if env.get(
"UMU_NO_RUNTIME") != "1" else []
return (
entry_point,
"--verb",
env["PROTON_VERB"],
"--",
*runtime_cmd,
proton,
env["PROTON_VERB"],
env["EXE"],
Expand Down

0 comments on commit 806e940

Please sign in to comment.