Skip to content

Commit

Permalink
umu_run: skip downloading proton if running native
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Sep 12, 2024
1 parent 67950d3 commit 98dc562
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ def check_env(

env["WINEPREFIX"] = os.environ["WINEPREFIX"]

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

# Proton Version
if (
os.environ.get("PROTONPATH")
Expand Down

0 comments on commit 98dc562

Please sign in to comment.