From fb587755da0588b79aa752eb6ff2d7ea20a6705e Mon Sep 17 00:00:00 2001 From: Ave Date: Sun, 21 Feb 2021 22:33:49 +0300 Subject: [PATCH] Make CTCCI use a hacky self built version of apktool bc yeah --- BUILDING.md | 2 +- ctcci/ctcci.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 84e7886..edaba93 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -2,7 +2,7 @@ #### Toolchain setup -- Get apktool (due to 2 bugs present in v2.3.4, you're strongly recommended to use v2.4.0 or higher, I compile latest from source). +- Get apktool (use [this self-built version](//f001.backblazeb2.com/file/avepub/apktool-cli-all.jar) which is master + [this pr](https://github.com/iBotPeaches/Apktool/pull/2463)). - Get a keystore, see [here](https://stackoverflow.com/a/14994354/3286892), step 1. - Get apksigner, it's part of android build tools. - If you want Mutant Standard emoji patches, get 72x72 PNG copies of latest version of mutant standard emojis with codepoints. I have a zip [here](https://mutant.lavatech.top/72x72.zip). diff --git a/ctcci/ctcci.py b/ctcci/ctcci.py index 2e76d15..82b4fee 100644 --- a/ctcci/ctcci.py +++ b/ctcci/ctcci.py @@ -69,7 +69,7 @@ if DO_GITPULL: # Extract the APK if it's not already extracted to base cache if not os.path.exists(BASE_APK_PATH): - subprocess.run(f"{APKTOOL_BIN} d {INPUT_FILE} -o {BASE_APK_PATH} -f", + subprocess.run(f"{APKTOOL_BIN} d --no-dummy {INPUT_FILE} -o {BASE_APK_PATH} -f", shell=True, cwd=WORK_FOLDER)