Skip to content

Commit

Permalink
Work with Py 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed Dec 6, 2023
1 parent f7d841d commit 9d7b2ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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.0"
__version__ = "2.1.1"

from .api import AIAPI, OpenAIAPI
from libbs.api import DecompilerInterface
Expand Down
3 changes: 1 addition & 2 deletions dailalib/installer.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import textwrap
from pathlib import Path
import importlib.resources

from libbs.plugin_installer import PluginInstaller


class DAILAInstaller(PluginInstaller):
def __init__(self):
super().__init__(targets=("ida", "ghidra", "binja", "angr"))
self.pkg_path = Path(str(importlib.resources.files("dailalib"))).absolute()
self.pkg_path = self.find_pkg_files("dailalib")

def _copy_plugin_to_path(self, path):
src = self.pkg_path / "daila_plugin.py"
Expand Down

0 comments on commit 9d7b2ba

Please sign in to comment.