diff --git a/D810.py b/D810.py index 32c6e80..33cc996 100644 --- a/D810.py +++ b/D810.py @@ -53,10 +53,12 @@ def init(self): print("D-810 need Hex-Rays decompiler. Skipping") return idaapi.PLUGIN_SKIP - kv = ida_kernwin.get_kernel_version().split(".") - if (int(kv[0]) < 7) or (int(kv[1]) < 5): - print("D-810 need IDA version >= 7.5. Skipping") + ver = float(ida_kernwin.get_kernel_version()) + if ver < 7.5: + print("Version mismatch; D-810 needs IDA version >= 7.5. Skipping") return idaapi.PLUGIN_SKIP + if ver >= 8: + print(f"Notice: D-810 was built for IDA version 7.5. You are running v{ver}") print("D-810 initialized (version {0})".format(D810_VERSION)) return idaapi.PLUGIN_OK