Skip to content

Commit

Permalink
hotfix for personal binja licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
gaasedelen committed Oct 11, 2018
1 parent fbbdd91 commit a81aa6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/lighthouse/core.py
Expand Up @@ -20,7 +20,7 @@
# Plugin Metadata
#------------------------------------------------------------------------------

PLUGIN_VERSION = "0.8.1"
PLUGIN_VERSION = "0.8.2"
AUTHORS = "Markus Gaasedelen"
DATE = "2018"

Expand Down
5 changes: 5 additions & 0 deletions plugin/lighthouse/util/disassembler/binja_api.py
Expand Up @@ -112,6 +112,11 @@ def __init__(self, bv=None):
def _init_version(self):

# retrieve Binja's version #
if "-" in binaryninja.core_version: # dev
disassembler_version = binaryninja.core_version.split("-", 1)[0]
else: # commercial, personal
binaryninja.core_version.split(" ", 1)[0]

disassembler_version = binaryninja.core_version.split("-", 1)[0]
major, minor, patch = map(int, disassembler_version.split("."))

Expand Down

0 comments on commit a81aa6d

Please sign in to comment.