From 9bce6264111708634cf46a35e5f708a3349d7b5f Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Sat, 23 Nov 2024 20:20:11 -0800 Subject: [PATCH] improv: update error message for empty PROTONPATH - Be a bit more description if we fail, which will most likely be to a network error or interrupt --- umu/umu_run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/umu/umu_run.py b/umu/umu_run.py index 72dc3ab9f..0b85279f5 100755 --- a/umu/umu_run.py +++ b/umu/umu_run.py @@ -143,9 +143,9 @@ def check_env( # If download fails/doesn't exist in the system, raise an error if not os.environ["PROTONPATH"]: err: str = ( - "Download failed\n" - "UMU-Proton could not be found in compatibilitytools.d\n" - "Please set $PROTONPATH or visit https://github.com/Open-Wine-Components/umu-proton/releases" + "Environment variable not set or is empty: PROTONPATH\n" + f"Possible reason: GE-Proton or UMU-Proton not found in '{STEAM_COMPAT}'" + " or network error" ) raise FileNotFoundError(err)