diff --git a/Scripts/shared.py b/Scripts/shared.py index 6376417..5fd1531 100644 --- a/Scripts/shared.py +++ b/Scripts/shared.py @@ -7,7 +7,7 @@ from Scripts._build import BUILD -VERSION = "0.2" +VERSION = "0.3" if getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS"): current_dir = Path(sys.executable).parent diff --git a/base.py b/base.py index 65b6312..15b2b4c 100644 --- a/base.py +++ b/base.py @@ -607,7 +607,9 @@ def build_kext(self): personality["IOProviderMergeProperties"]["ports"][port_name] = { "port": binascii.a2b_hex(hexswap(hex(port["index"])[2:].zfill(8))), + "usb-port-number": binascii.a2b_hex(hexswap(hex(port["index"])[2:].zfill(8))), "UsbConnector": port["type"] or port["guessed"], + "usb-port-type": port["type"] or port["guessed"], } if self.settings["add_comments_to_map"] and port["comment"]: @@ -695,4 +697,4 @@ def monu(self): response = menu.start() self.on_quit() - self.utils.custom_quit() + self.utils.custom_quit() \ No newline at end of file