mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-08-25 14:53:06 +00:00
Update related to Hardware Sniffer
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ class OCPE:
|
|||||||
print("Q. Quit")
|
print("Q. Quit")
|
||||||
print("")
|
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":
|
if user_input.lower() == "q":
|
||||||
self.u.exit_program()
|
self.u.exit_program()
|
||||||
if self.hardware_sniffer and user_input.lower() == "e":
|
if self.hardware_sniffer and user_input.lower() == "e":
|
||||||
|
|||||||
@@ -253,6 +253,7 @@ class gatheringFiles:
|
|||||||
else:
|
else:
|
||||||
download_history[history_index]["id"] = hardware_sniffer_cli.get("id")
|
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)
|
self.utils.write_file(self.download_history_file, download_history)
|
||||||
|
|
||||||
return hardware_sniffer_path
|
return hardware_sniffer_path
|
||||||
|
|||||||
Reference in New Issue
Block a user