diff --git a/trueseeing/app/cmd/android/engage.py b/trueseeing/app/cmd/android/engage.py index 0d6f69c2..1bce81a6 100644 --- a/trueseeing/app/cmd/android/engage.py +++ b/trueseeing/app/cmd/android/engage.py @@ -84,6 +84,10 @@ async def _engage_tamper_apply(self, args: deque[str]) -> None: from trueseeing.core.android.asm import APKAssembler from trueseeing.core.android.tools import move_apk + if apk.endswith('.xapk'): + ui.warn('patching xapk as merged apk') + apk = apk.replace('.xapk', '.apk') + origapk = apk.replace('.apk', '.apk.orig') if os.path.exists(origapk) and not cmd.endswith('!'):