update for beta macOS installers using the --pkg option

This commit is contained in:
Graham R Pugh 2020-11-23 14:03:16 +01:00
parent 2b720a4ad8
commit f18e98aebc

View File

@ -570,8 +570,7 @@ def find_mac_os_installers(catalog, installassistant_pkg_only=False):
# account for args.pkg
if installassistant_pkg_only:
try:
if product['ExtendedMetaInfo']['InstallAssistantPackageIdentifiers']:
if product['ExtendedMetaInfo']['InstallAssistantPackageIdentifiers']['SharedSupport'] == 'com.apple.pkg.InstallAssistant.macOSBigSur':
if product['ExtendedMetaInfo']['InstallAssistantPackageIdentifiers']['SharedSupport']:
mac_os_installer_products.append(product_key)
except KeyError:
continue