From 2dbd0ef6f9b75a89d33e6f27b07774f4f588a52f Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Thu, 12 Dec 2024 20:47:51 +0700 Subject: [PATCH] Remove the need to reopen the program to download macserial --- Scripts/smbios.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Scripts/smbios.py b/Scripts/smbios.py index 28e9dae..d0fb277 100644 --- a/Scripts/smbios.py +++ b/Scripts/smbios.py @@ -1,4 +1,3 @@ -from Scripts.datasets import cpu_data from Scripts.datasets.mac_model_data import mac_devices from Scripts import gathering_files from Scripts import run @@ -28,11 +27,8 @@ class SMBIOS: download_history.pop(product_index) self.utils.write_file(self.g.download_history_file, download_history) - print("\n") - print("{} not found. Please reopen the program to download it".format(macserial_name)) - print("") - self.utils.request_input() - self.utils.exit_program() + self.g.gather_bootloader_kexts([], "") + return self.check_macserial() return macserial_path