Skip to content

Commit

Permalink
Use lib/ path for android gadget configurations.
Browse files Browse the repository at this point in the history
Fixes #362
  • Loading branch information
leonjza committed May 27, 2020
1 parent 2f1f992 commit 1db2da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objection/commands/mobile_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def patch_android_apk(source: str, architecture: str, pause: bool, skip_cleanup:
if script_source:
click.secho('Copying over a custom script to use with the gadget config.', fg='green')
shutil.copyfile(script_source,
os.path.join(patcher.apk_temp_directory, 'Frameworks', architecture,
os.path.join(patcher.apk_temp_directory, 'lib', architecture,
'libfrida-gadget.script.so'))

# if we are required to pause, do that.
Expand Down

0 comments on commit 1db2da7

Please sign in to comment.