From b888f154e761ce3dedd019d675d323b5552ca35e Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Wed, 16 Oct 2024 01:06:59 +0700 Subject: [PATCH] Update related to Hardware Sniffer --- OpCore-Simplify.py | 2 +- Scripts/gathering_files.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OpCore-Simplify.py b/OpCore-Simplify.py index 5cd0f87..43319b3 100644 --- a/OpCore-Simplify.py +++ b/OpCore-Simplify.py @@ -55,7 +55,7 @@ class OCPE: print("Q. Quit") print("") - user_input = self.u.request_input("Drag and drop your hardware report here (.JSON) or type 'E' to export: ") + user_input = self.u.request_input("Drag and drop your hardware report here (.JSON){}: ".format(" or type \"E\" to export" if self.hardware_sniffer else "")) if user_input.lower() == "q": self.u.exit_program() if self.hardware_sniffer and user_input.lower() == "e": diff --git a/Scripts/gathering_files.py b/Scripts/gathering_files.py index 3508343..3a17fa3 100644 --- a/Scripts/gathering_files.py +++ b/Scripts/gathering_files.py @@ -253,6 +253,7 @@ class gatheringFiles: else: download_history[history_index]["id"] = hardware_sniffer_cli.get("id") + self.utils.create_folder(os.path.dirname(self.download_history_file)) self.utils.write_file(self.download_history_file, download_history) return hardware_sniffer_path