necessary: add script to get us some extra function space

also adjusting ctcci and patchport to account for this sort of versioned
scripts
This commit is contained in:
ave 2019-10-08 05:08:26 +03:00
parent 9f5058ed0c
commit 5569efefa0
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
3 changed files with 19 additions and 0 deletions

View file

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