Skip to content

Commit

Permalink
make unspecified 'Arch' to be listed for 32-bit and 64-bit architectu…
Browse files Browse the repository at this point in the history
…re, fix for bottlesdevs#2166
  • Loading branch information
Zylquinal authored and koplo199 committed Sep 27, 2023
1 parent 9e39f42 commit bb629d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bottles/frontend/views/bottle_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ def process_dependencies():
if dep[0] in self.config.Installed_Dependencies:
continue # Do not list already installed dependencies'

if dep[1].get("Arch", "win64") != self.config.Arch:
dependency_arch = dep[1].get("Arch")
if dependency_arch is not None and dependency_arch != self.config.get("Arch"):
# NOTE: avoid listing dependencies not supported by the bottle arch
continue

Expand Down

0 comments on commit bb629d2

Please sign in to comment.