Skip to content

Commit

Permalink
umu_proton: create var
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 2, 2025
1 parent 8364576 commit 7196cee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion umu/umu_proton.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,8 @@ def _get_delta(
with vdf.open(encoding="utf-8") as file:
# We're up to date if the internal tool is the GH asset name w/o suffix
# Ignore. See https://github.com/python/mypy/issues/12682
if any(filter(lambda line: build in line, file)): # type: ignore
is_updated: bool = any(filter(lambda line: build in line, file)) # type: ignore
if is_updated:
log.info("%s is up to date", version)
os.environ["PROTONPATH"] = str(umu_compat.joinpath(version))
env["PROTONPATH"] = os.environ["PROTONPATH"]
Expand Down

0 comments on commit 7196cee

Please sign in to comment.