Skip to content

Commit

Permalink
fix: save only downloaded dependencies to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
imLinguin committed Sep 4, 2023
1 parent 6265b90 commit f22b38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gogdl/dl/managers/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ def get(self, return_files=False):
# By default we want to download all redist beginning
# with redist (game installation runs installation of the game's ones)
should_download = depot["executable"]["path"].startswith("__redist")
installed.add(depot['dependencyId'])

# If we want to download redist located in game dir we flip the boolean
if self.download_game_deps_only:
should_download = not should_download

if should_download:
installed.add(depot['dependencyId'])
new_depots.append(depot)

new_files = []
Expand Down

0 comments on commit f22b38a

Please sign in to comment.