mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2025-02-15 00:51:28 +01:00
Re-load the URL on max-os and catalog changes
This commit is contained in:
parent
89180f0728
commit
8a2cbdf800
@ -344,6 +344,7 @@ class gibMacOS:
|
|||||||
self.pick_macos()
|
self.pick_macos()
|
||||||
return
|
return
|
||||||
# At this point, we should be good
|
# At this point, we should be good
|
||||||
|
self.get_catalog_data()
|
||||||
|
|
||||||
def main(self, dmg = False):
|
def main(self, dmg = False):
|
||||||
self.u.head()
|
self.u.head()
|
||||||
@ -392,10 +393,8 @@ class gibMacOS:
|
|||||||
return
|
return
|
||||||
elif menu[0].lower() == "m":
|
elif menu[0].lower() == "m":
|
||||||
self.pick_macos()
|
self.pick_macos()
|
||||||
return
|
|
||||||
elif menu[0].lower() == "c":
|
elif menu[0].lower() == "c":
|
||||||
self.pick_catalog()
|
self.pick_catalog()
|
||||||
return
|
|
||||||
elif menu[0].lower() == "l" and sys.platform.lower() == "darwin":
|
elif menu[0].lower() == "l" and sys.platform.lower() == "darwin":
|
||||||
# Clear the software update catalog
|
# Clear the software update catalog
|
||||||
self.u.head("Clearing SU CatalogURL")
|
self.u.head("Clearing SU CatalogURL")
|
||||||
@ -419,9 +418,10 @@ class gibMacOS:
|
|||||||
return
|
return
|
||||||
elif menu[0].lower() == "r":
|
elif menu[0].lower() == "r":
|
||||||
self.find_recovery ^= True
|
self.find_recovery ^= True
|
||||||
|
if menu[0].lower() in ["m","c","r"]:
|
||||||
self.u.head("Parsing Data")
|
self.u.head("Parsing Data")
|
||||||
print("")
|
print("")
|
||||||
print("Re-scanning products after recovery preference toggled...")
|
print("Re-scanning products after url preference toggled...")
|
||||||
self.mac_prods = self.get_dict_for_prods(self.get_installers())
|
self.mac_prods = self.get_dict_for_prods(self.get_installers())
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user