sys_patch_detect.py: Adjust OS check from mainline merge

This commit is contained in:
Mykola Grymalyuk
2023-07-26 13:53:21 -06:00
parent 87f412b469
commit e0fd78c7af

View File

@@ -440,7 +440,7 @@ class DetectRootPatch:
Base check to ensure patcher is compatible with host OS
"""
min_os = os_data.os_data.big_sur
max_os = os_data.os_data.ventura
max_os = os_data.os_data.sonoma
if self.constants.detected_os < min_os or self.constants.detected_os > max_os:
return False
return True