Add integrity checking for downloaded files

This commit is contained in:
Onn
2025-11-14 13:35:24 +07:00
parent 28b9b3eb35
commit 924c66f72f
6 changed files with 297 additions and 159 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class SMBIOS:
if download_history:
product_index = self.g.get_product_index(download_history, "OpenCorePkg")
if product_index:
if product_index is not None:
download_history.pop(product_index)
self.utils.write_file(self.g.download_history_file, download_history)