Implement macOS 26 constants for SUCatalog logic

This commit is contained in:
Jazzzny
2025-06-30 07:51:24 -04:00
parent 453ef78dda
commit 1cf7335ec4
4 changed files with 5 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ class CatalogVersion(StrEnum):
Used for generating sucatalog URLs
"""
TAHOE: str = "26"
SEQUOIA: str = "15"
SONOMA: str = "14"
VENTURA: str = "13"

View File

@@ -29,7 +29,7 @@ class CatalogProducts:
catalog: dict,
install_assistants_only: bool = True,
only_vmm_install_assistants: bool = True,
max_install_assistant_version: CatalogVersion = CatalogVersion.SEQUOIA
max_install_assistant_version: CatalogVersion = CatalogVersion.TAHOE
) -> None:
self.catalog: dict = catalog
self.ia_only: bool = install_assistants_only

View File

@@ -29,7 +29,7 @@ class CatalogURL:
extension (CatalogExtension): Extension for the catalog URL
"""
def __init__(self,
version: CatalogVersion = CatalogVersion.SEQUOIA,
version: CatalogVersion = CatalogVersion.TAHOE,
seed: SeedType = SeedType.PublicRelease,
extension: CatalogExtension = CatalogExtension.PLIST
) -> None: