From 19ad7149a7f41042a6742045814d5c025950dbf7 Mon Sep 17 00:00:00 2001 From: Daniel Johnson Date: Tue, 11 Jun 2024 18:15:08 -0400 Subject: [PATCH] Fix bugged Itch.io patch download; it needs to discard the 'extra' downloads. --- lutris/services/itchio.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lutris/services/itchio.py b/lutris/services/itchio.py index 8e9eacad3..07619f175 100644 --- a/lutris/services/itchio.py +++ b/lutris/services/itchio.py @@ -613,7 +613,9 @@ class ItchIoService(OnlineService): def get_patch_files(self, installer, installer_file_id): """Similar to get_installer_files but for patches""" # No really, it is the same! so we just call get_installer_files - return self.get_installer_files(installer, installer_file_id, []) + # and strip off the extras files. + files, _extra_files = self.get_installer_files(installer, installer_file_id, []) + return files def get_file_weight(self, name, demo): if name.endswith(".rpm"):