Trying 4.60.3 AGAIN... this time checking the mac_ver[1] and also checking for releases 13+

This commit is contained in:
PySimpleGUI 2022-07-27 11:16:48 -04:00
parent 8e9b532657
commit 63f73c222b
1 changed files with 1 additions and 1 deletions

View File

@ -22324,7 +22324,7 @@ def _mac_should_set_alpha_to_99():
try: try:
platform_mac_ver = platform.mac_ver()[0] platform_mac_ver = platform.mac_ver()[0]
mac_ver = platform_mac_ver.split('.') mac_ver = platform_mac_ver.split('.')
if int(mac_ver[0]) >= 12 and int(mac_ver[0]) >= 3: if (int(mac_ver[0]) >= 12 and int(mac_ver[1]) >= 3) or int(mac_ver[0]) >= 13 :
print("Mac OS Version is {} and patch enabled so applying the patch".format(platform_mac_ver)) print("Mac OS Version is {} and patch enabled so applying the patch".format(platform_mac_ver))
return True return True
except Exception as e: except Exception as e: