From b0d6c92723ad8c3e6fde9213e97541cc07a8742f Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Wed, 11 Sep 2024 21:00:48 -0700 Subject: [PATCH] umu_run: skip proton file check --- umu/umu_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umu/umu_run.py b/umu/umu_run.py index d7e268d0..8c15f72e 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -380,7 +380,7 @@ def build_command( proton: Path = Path(env["PROTONPATH"], "proton") entry_point: Path = local.joinpath("umu") - if not proton.is_file(): + if env.get("UMU_NO_PROTON") != "1" and not proton.is_file(): err: str = "The following file was not found in PROTONPATH: proton" raise FileNotFoundError(err)