Skip to content

Commit

Permalink
Account for macOS versions without a patch number (ex: 11.3) (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Iune authored Jul 1, 2021
1 parent 564604d commit c829c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fbs/installer/mac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def create_installer_mac():
]

if is_mac():
major, minor, patch = platform.mac_ver()[0].split('.')
major, minor = platform.mac_ver()[0].split('.')[:2]
if (int(major) == 10 and int(minor) >= 15) or int(major) >= 11:
pdata.insert(1, '--no-internet-enable')

Expand Down

0 comments on commit c829c3c

Please sign in to comment.