mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +00:00
Use OpenCorePkg instead of OpenCore NO ACPI
This commit is contained in:
8
Scripts/smbios.py
Executable file → Normal file
8
Scripts/smbios.py
Executable file → Normal file
@@ -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