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 committed Feb 17, 2023
1 parent e3623c6 commit d9f1a09
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 @@ -129,7 +129,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 d9f1a09

Please sign in to comment.