mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-08-25 14:53:06 +00:00
Use OpenCorePkg instead of OpenCore NO ACPI
This commit is contained in:
@@ -65,8 +65,11 @@ class gatheringFiles:
|
||||
if self.github.check_ratelimit():
|
||||
add_product_to_download_urls(self.github.get_latest_release(kext.github_repo.get("owner"), kext.github_repo.get("repo")))
|
||||
|
||||
if self.github.check_ratelimit():
|
||||
add_product_to_download_urls(self.github.get_latest_release("wjz304", "OpenCore_Patch_Build"))
|
||||
add_product_to_download_urls({
|
||||
"product_name": "OpenCorePkg",
|
||||
"id": dortania_builds_data["OpenCorePkg"]["versions"][0]["release"]["id"],
|
||||
"url": dortania_builds_data["OpenCorePkg"]["versions"][0]["links"]["release"]
|
||||
})
|
||||
|
||||
sorted_download_urls = sorted(download_urls, key=lambda x:x["product_name"])
|
||||
|
||||
@@ -137,7 +140,7 @@ class gatheringFiles:
|
||||
|
||||
self.utils.create_folder(self.temporary_dir)
|
||||
|
||||
for product in kexts + [{"Name": "OpenCore"}]:
|
||||
for product in kexts + [{"Name": "OpenCorePkg"}]:
|
||||
if not isinstance(product, dict) and not product.checked:
|
||||
continue
|
||||
|
||||
|
||||
Executable → Regular
+6
-2
@@ -22,13 +22,17 @@ class SMBIOS:
|
||||
download_history = self.utils.read_file(self.g.download_history_file)
|
||||
|
||||
if download_history:
|
||||
product_index = self.g.get_product_index(download_history, "OpenCore")
|
||||
product_index = self.g.get_product_index(download_history, "OpenCorePkg")
|
||||
|
||||
if product_index:
|
||||
download_history.pop(product_index)
|
||||
self.utils.write_file(self.g.download_history_file, download_history)
|
||||
|
||||
raise Exception("{} not found. Please reopen the program to download it".format(macserial_name))
|
||||
print("\n")
|
||||
print("{} not found. Please reopen the program to download it".format(macserial_name))
|
||||
print("")
|
||||
self.utils.request_input()
|
||||
self.utils.exit_program()
|
||||
|
||||
return macserial_path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user