diff --git a/README.rst b/README.rst index 7706506..35cb52d 100644 --- a/README.rst +++ b/README.rst @@ -59,13 +59,14 @@ Usage Patch an APK with the Frida gadget library Options: - --arch TEXT Target architecture of the device. (options: arm64, x86_64, arm, x86) - --use-aapt2 Use aapt2 instead of aapt. - --no-res Do not decode resources. - --skip-decompile Skip decompilation if desired. - --skip-recompile Skip recompilation if desired. - --version Show version and exit. - --help Show this message and exit. + --arch TEXT Target architecture of the device. (options: arm64, x86_64, arm, x86) + --main-activity TEXT Specify the main activity + --use-aapt2 Use aapt2 instead of aapt. + --no-res Do not decode resources. + --skip-decompile Skip decompilation if desired. + --skip-recompile Skip recompilation if desired. + --version Show version and exit. + --help Show this message and exit. How do I begin? ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/scripts/cli.py b/scripts/cli.py index 4b0fa4b..7e67125 100644 --- a/scripts/cli.py +++ b/scripts/cli.py @@ -176,7 +176,7 @@ def modify_manifest(decompiled_path): ':extractNativeLibs="true"') android_manifest.write_text(txt, encoding="utf-8") -def inject_gadget_into_apk(apk_path:str, arch:str, decompiled_path:str, main_activity:str=None): +def inject_gadget_into_apk(apk_path:str, arch:str, decompiled_path:str, main_activity:str = None): """Inject frida gadget into an APK Args: