Skip to content

Commit

Permalink
fix: error on dlc if no installer (log error and ignore) Heroic-Games…
Browse files Browse the repository at this point in the history
  • Loading branch information
JonBoyleCoding committed Jun 16, 2024
1 parent 7c9a6f4 commit 8450920
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gogdl/dl/managers/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ def setup(self):

linux_installers = self.filter_linux_installers(dlc["downloads"]["installers"])
installer = self.find_matching_installer(linux_installers)

if installer is None:
self.logger.error(
dlc["title"] + " - Does not have a linux installer"
)
continue

installer_data = dl_utils.get_json(self.api_handler, installer["files"][0]["downlink"])

install_handler = linux.InstallerHandler(installer_data["downlink"],
Expand Down

0 comments on commit 8450920

Please sign in to comment.