mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2025-01-08 18:57:33 +01:00
Preliminary support for 10.16 beta structure
This commit is contained in:
parent
58b48b63db
commit
25753053f9
@ -140,7 +140,8 @@ class gibMacOS:
|
|||||||
mac_prods = []
|
mac_prods = []
|
||||||
for p in plist_dict.get("Products", {}):
|
for p in plist_dict.get("Products", {}):
|
||||||
if not self.find_recovery:
|
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)
|
mac_prods.append(p)
|
||||||
else:
|
else:
|
||||||
# Find out if we have any of the recovery_suffixes
|
# Find out if we have any of the recovery_suffixes
|
||||||
|
Loading…
Reference in New Issue
Block a user