Skip to content

Commit

Permalink
umu_run: rename UMU_NO_PROTON to UMU_NO_TOOL
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Dec 15, 2024
1 parent e193473 commit c1c7d40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def check_env(
env["WINEPREFIX"] = os.environ.get("WINEPREFIX", "")

# Skip Proton if running a native Linux executable
if os.environ.get("UMU_NO_PROTON") == "1":
if os.environ.get("UMU_NO_TOOL") == "1":
return env

# Proton Version
Expand Down Expand Up @@ -268,7 +268,7 @@ def set_env(
# Runtime
env["UMU_NO_RUNTIME"] = os.environ.get("UMU_NO_RUNTIME") or ""
env["UMU_RUNTIME_UPDATE"] = os.environ.get("UMU_RUNTIME_UPDATE") or ""
env["UMU_NO_PROTON"] = os.environ.get("UMU_NO_PROTON") or ""
env["UMU_NO_TOOL"] = os.environ.get("UMU_NO_TOOL") or ""

# Proton logging (to stdout)
# Check for PROTON_LOG because it redirects output to log file
Expand Down Expand Up @@ -336,7 +336,7 @@ def build_command(
# Will run the game within the Steam Runtime w/o Proton
# Ideally, for reliability, executables should be compiled within
# the Steam Runtime
if env.get("UMU_NO_PROTON") == "1":
if env.get("UMU_NO_TOOL") == "1":
log.debug(
"Compatibility tool disabled. Executing linux-native executable %s", env["EXE"]
)
Expand Down Expand Up @@ -771,7 +771,7 @@ def umu_run(args: Namespace | tuple[str, list[str]]) -> int:
"UMU_ZENITY": "",
"UMU_NO_RUNTIME": "",
"UMU_RUNTIME_UPDATE": "",
"UMU_NO_PROTON": "",
"UMU_NO_TOOL": "",
}
opts: list[str] = []
prereq: bool = False
Expand Down

0 comments on commit c1c7d40

Please sign in to comment.