Skip to content

Commit

Permalink
umu_dl_util: don't sort the Proton builds
Browse files Browse the repository at this point in the history
- There isn't any reason to sort them as the launcher is not handling any of the previous builds differently. All of the previous UMU-Proton and ULWGL-Proton builds will just be deleted in behalf of the user. Previous GE-Proton builds will remain.
  • Loading branch information
R1kaB3rN committed May 1, 2024
1 parent 7b94190 commit ddaa873
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions umu/umu_dl_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,11 @@ def _get_latest(
# Set latest UMU/GE-Proton
if version == "UMU-Proton":
log.debug("Updating UMU-Proton")
protons: list[Path] = sorted( # Previous stable builds
[
file
for file in steam_compat.glob("*")
if file.name.startswith(("UMU-Proton", "ULWGL-Proton"))
]
)
protons: list[Path] = [ # Previous stable builds
file
for file in steam_compat.glob("*")
if file.name.startswith(("UMU-Proton", "ULWGL-Proton"))
]
tar_path: Path = tmp.joinpath(tarball)

# Ideally, an in-place differential update would be
Expand Down

0 comments on commit ddaa873

Please sign in to comment.