Skip to content

Commit a81aa6d

Browse files
committed
hotfix for personal binja licenses
1 parent fbbdd91 commit a81aa6d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

plugin/lighthouse/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Plugin Metadata
2121
#------------------------------------------------------------------------------
2222

23-
PLUGIN_VERSION = "0.8.1"
23+
PLUGIN_VERSION = "0.8.2"
2424
AUTHORS = "Markus Gaasedelen"
2525
DATE = "2018"
2626

plugin/lighthouse/util/disassembler/binja_api.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ def __init__(self, bv=None):
112112
def _init_version(self):
113113

114114
# retrieve Binja's version #
115+
if "-" in binaryninja.core_version: # dev
116+
disassembler_version = binaryninja.core_version.split("-", 1)[0]
117+
else: # commercial, personal
118+
binaryninja.core_version.split(" ", 1)[0]
119+
115120
disassembler_version = binaryninja.core_version.split("-", 1)[0]
116121
major, minor, patch = map(int, disassembler_version.split("."))
117122

0 commit comments

Comments
 (0)