From 2986aea15231938ea844a623ad20881d885f3da2 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sat, 18 Mar 2023 16:26:18 -0600 Subject: [PATCH] macos_installer_handler.py: Add Seed type information --- resources/macos_installer_handler.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/resources/macos_installer_handler.py b/resources/macos_installer_handler.py index a6111bb0f..02cb7e4ba 100644 --- a/resources/macos_installer_handler.py +++ b/resources/macos_installer_handler.py @@ -201,14 +201,20 @@ fi return list_disks -class SeedType(enum.Enum): +class SeedType(enum.IntEnum): """ Enum for catalog types + + Variants: + DeveloperSeed: Developer Beta (Part of the Apple Developer Program) + PublicSeed: Public Beta + CustomerSeed: AppleSeed Program (Generally mirrors DeveloperSeed) + PublicRelease: Public Release """ - DeveloperSeed = 0 - PublicSeed = 1 - CustomerSeed = 2 - PublicRelease = 3 + DeveloperSeed: int = 0 + PublicSeed: int = 1 + CustomerSeed: int = 2 + PublicRelease: int = 3 class RemoteInstallerCatalog: