Change the method for retrieving bootloader and kexts download information

This commit is contained in:
Hoang Hong Quan
2024-09-29 02:35:39 +07:00
parent bfc9869214
commit 89515ab5c6
2 changed files with 43 additions and 35 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ 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)
product_index = self.g.get_product_index(download_history, "OpenCore")
if product_index:
download_history.pop(product_index)