Skip to content

Commit

Permalink
Revert "umu_run: update error message"
Browse files Browse the repository at this point in the history
This reverts commit a4c3f3795b50131328a0918b97b10abcaef2464a.
  • Loading branch information
R1kaB3rN committed Sep 16, 2024
1 parent 8d7a24c commit d0fcdc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ def check_env(
if os.environ.get("PROTONPATH") == "GE-Proton":
get_umu_proton(env, thread_pool)

# UMU-Proton
if "PROTONPATH" not in os.environ:
os.environ["PROTONPATH"] = ""
get_umu_proton(env, thread_pool)
Expand All @@ -192,8 +191,9 @@ def check_env(
# If download fails/doesn't exist in the system, raise an error
if not os.environ["PROTONPATH"]:
err: str = (
"$PROTONPATH not set or could not download Proton\n"
"Visit https://github.com/Open-Wine-Components/umu-proton/releases"
"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"
)
raise FileNotFoundError(err)

Expand Down

0 comments on commit d0fcdc9

Please sign in to comment.