From 25753053f950fe060d0d616554845ac43b332b77 Mon Sep 17 00:00:00 2001 From: CorpNewt <12772521+corpnewt@users.noreply.github.com> Date: Mon, 22 Jun 2020 14:35:23 -0500 Subject: [PATCH] Preliminary support for 10.16 beta structure --- gibMacOS.command | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gibMacOS.command b/gibMacOS.command index bbbfac1..0aa32c4 100755 --- a/gibMacOS.command +++ b/gibMacOS.command @@ -140,7 +140,8 @@ class gibMacOS: mac_prods = [] for p in plist_dict.get("Products", {}): if not self.find_recovery: - if plist_dict.get("Products",{}).get(p,{}).get("ExtendedMetaInfo",{}).get("InstallAssistantPackageIdentifiers",{}).get("OSInstall",{}) == "com.apple.mpkg.OSInstall": + val = plist_dict.get("Products",{}).get(p,{}).get("ExtendedMetaInfo",{}).get("InstallAssistantPackageIdentifiers",{}) + if val.get("OSInstall",{}) == "com.apple.mpkg.OSInstall" or val.get("SharedSupport","").startswith("com.apple.pkg.InstallAssistant"): mac_prods.append(p) else: # Find out if we have any of the recovery_suffixes