From f18e98aebc3a0b93e8b04f04bfd5987cb1dce27a Mon Sep 17 00:00:00 2001 From: Graham R Pugh Date: Mon, 23 Nov 2020 14:03:16 +0100 Subject: [PATCH] update for beta macOS installers using the --pkg option --- installinstallmacos.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/installinstallmacos.py b/installinstallmacos.py index 0c5a6c1..e39b00d 100755 --- a/installinstallmacos.py +++ b/installinstallmacos.py @@ -570,9 +570,8 @@ 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': - mac_os_installer_products.append(product_key) + if product['ExtendedMetaInfo']['InstallAssistantPackageIdentifiers']['SharedSupport']: + mac_os_installer_products.append(product_key) except KeyError: continue else: