From 63f73c222b4e78a9a7921a6e0ae5b2ad3add91ba Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Wed, 27 Jul 2022 11:16:48 -0400 Subject: [PATCH] Trying 4.60.3 AGAIN... this time checking the mac_ver[1] and also checking for releases 13+ --- PySimpleGUI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 45fcaac9..0edf9a0c 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -22324,7 +22324,7 @@ def _mac_should_set_alpha_to_99(): try: platform_mac_ver = platform.mac_ver()[0] 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)) return True except Exception as e: