From c1c7d4012fb2df78388775157e89ace11cd5c349 Mon Sep 17 00:00:00 2001 From: Stelios Tsampas Date: Sat, 30 Nov 2024 15:22:38 +0200 Subject: [PATCH] umu_run: rename `UMU_NO_PROTON` to `UMU_NO_TOOL` --- umu/umu_run.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/umu/umu_run.py b/umu/umu_run.py index 859ca02f..c5791309 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -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 @@ -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 @@ -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"] ) @@ -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