diff --git a/theseus_autopatcher/poetry.lock b/theseus_autopatcher/poetry.lock index 713a204..c2757de 100644 --- a/theseus_autopatcher/poetry.lock +++ b/theseus_autopatcher/poetry.lock @@ -1818,4 +1818,4 @@ dev = ["black (>=19.3b0) ; python_version >= \"3.6\"", "pytest (>=4.6.2)"] [metadata] lock-version = "2.1" python-versions = ">=3.13,<4.0.0" -content-hash = "13983494fca870a74a993c9b5bb4b50970338583ae754db299d553c341c2c099" +content-hash = "8e014dd037fc84f3479bd8821c65d1afa5672d3c3c99f39a4024d5197d7b26bb" diff --git a/theseus_autopatcher/pyproject.toml b/theseus_autopatcher/pyproject.toml index c92208a..f21eb96 100644 --- a/theseus_autopatcher/pyproject.toml +++ b/theseus_autopatcher/pyproject.toml @@ -7,9 +7,10 @@ authors = [ ] readme = "README.md" requires-python = ">=3.13,<4.0.0" -dependencies = [ - "theseus-frida @ file:///home/histausse/workspace/dev/Project/android_of_theseus/frida" -] +#dependencies = [] + +[tool.poetry.dependencies] +theseus-frida = { path = "../frida" } [tool.poetry] packages = [{include = "theseus_autopatcher", from = "src"}] diff --git a/theseus_autopatcher/src/theseus_autopatcher/__init__.py b/theseus_autopatcher/src/theseus_autopatcher/__init__.py index 43c4685..37e8ef5 100644 --- a/theseus_autopatcher/src/theseus_autopatcher/__init__.py +++ b/theseus_autopatcher/src/theseus_autopatcher/__init__.py @@ -207,9 +207,7 @@ def main(): if not args.keystore.exists(): gen_keystore(keytool, args.keystore) - tmpdname = "/tmp/tmp.xzq9jLxUbQ/tmp" - if True: - # with tempfile.TemporaryDirectory() as tmpdname: + with tempfile.TemporaryDirectory() as tmpdname: tmpd = Path(tmpdname) (tmpd / "dex").mkdir() with (tmpd / "runtime.json").open("w") as fp: