mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +00:00
Rewrite some parts related to handling the collection of bootloaders and kexts
This commit is contained in:
5
Scripts/smbios.py
Executable file → Normal file
5
Scripts/smbios.py
Executable file → Normal file
@@ -21,11 +21,10 @@ class SMBIOS:
|
||||
download_history = self.utils.read_file(self.g.download_history_file)
|
||||
|
||||
if download_history:
|
||||
product_index = self.g.product_index_in_history("OpenCore", download_history["versions"])
|
||||
product_index = self.g.product_index_in_history("OpenCore", download_history)
|
||||
|
||||
if product_index:
|
||||
download_history["versions"].pop(product_index)
|
||||
download_history["last_updated"] = "2024-07-25T12:00:00"
|
||||
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))
|
||||
|
||||
Reference in New Issue
Block a user