necessary/notrack/ctcci: Move things so that patches need minimal

intervention with the latest changes to clear up space for us
This commit is contained in:
ave 2019-10-08 05:14:07 +03:00
parent 5569efefa0
commit 08986e926c
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
2 changed files with 2 additions and 2 deletions

View file

@ -205,6 +205,8 @@ for patch_name in PATCHES:
"font", font)) "font", font))
# Apply any other patches # Apply any other patches
else: else:
patch(patch_file, WORK_APK_PATH, patch_name)
patch_script = os.path.join(REPO_FOLDER, "patches", patch_script = os.path.join(REPO_FOLDER, "patches",
patch_name, f"{VERSION}.sh") patch_name, f"{VERSION}.sh")
if os.path.exists(patch_script): if os.path.exists(patch_script):
@ -212,8 +214,6 @@ for patch_name in PATCHES:
shell=True, shell=True,
cwd=WORK_APK_PATH) cwd=WORK_APK_PATH)
patch(patch_file, WORK_APK_PATH, patch_name)
# Pack the APK # Pack the APK
subprocess.run(f"{APKTOOL_BIN} b discord", subprocess.run(f"{APKTOOL_BIN} b discord",
shell=True, shell=True,