mirror of
https://github.com/grahampugh/macadmin-scripts.git
synced 2025-12-17 17:56:33 +00:00
update for beta macOS installers using the --pkg option
This commit is contained in:
parent
2b720a4ad8
commit
f18e98aebc
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user