Skip to content

Commit

Permalink
Fix the installer to always call super
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed Dec 7, 2023
1 parent 5cad544 commit b027c29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dailalib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.1.3"
__version__ = "2.1.4"

from .api import AIAPI, OpenAIAPI
from libbs.api import DecompilerInterface
Expand Down
8 changes: 4 additions & 4 deletions dailalib/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,31 @@ def display_prologue(self):
"""))

def install_ida(self, path=None, interactive=True):
path = path or super().install_ida(path=path, interactive=interactive)
path = super().install_ida(path=path, interactive=interactive)
if not path:
return

self._copy_plugin_to_path(path)
return path

def install_ghidra(self, path=None, interactive=True):
path = path or super().install_ghidra(path=path, interactive=interactive)
path = super().install_ghidra(path=path, interactive=interactive)
if not path:
return

self._copy_plugin_to_path(path)
return path

def install_binja(self, path=None, interactive=True):
path = path or super().install_binja(path=path, interactive=interactive)
path = super().install_binja(path=path, interactive=interactive)
if not path:
return

self._copy_plugin_to_path(path)
return path

def install_angr(self, path=None, interactive=True):
path = path or super().install_angr(path=path, interactive=interactive)
path = super().install_angr(path=path, interactive=interactive)
if not path:
return

Expand Down

0 comments on commit b027c29

Please sign in to comment.