2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

Revert "use dexpatcher 1.8.0-beta1 for all SDKs"

This reverts commit fc0a34a3a4.
This commit is contained in:
Christopher Roy Bratusek 2020-08-15 19:36:39 +02:00
parent 8966bf81fd
commit 10329b1c53
4 changed files with 6 additions and 7 deletions

View File

@ -385,7 +385,11 @@ detect_sdk () {
SMALI="${BASEDIR}/smali_23.dex"
fi
DEXPATCHER="${BASEDIR}/dexpatcher.dex"
if [ "${SDK_VERSION}" -gt 25 ]; then
DEXPATCHER="${BASEDIR}/dexpatcher_26.dex"
else DEXPATCHER="${BASEDIR}/dexpatcher_19.dex"
fi
PATCH_CORE="${BASEDIR}/core_services.jar.dex"
if [ "${SDK_VERSION}" -lt 24 ]; then
@ -626,18 +630,13 @@ install_addond () {
rm -rf ${PATCHER_ADDOND_DATA}
mkdir -p ${PATCHER_ADDOND_DATA}
# remove old NanoMod stuff
[ -d /data/nanomod.patcher ] && rm -rf /data/nanomod.patcher
[ -d /data/adb/nanomod_patcher ] && rm -rf /data/nanomod_patcher
rm -f /system/addon.d/75-nanomodpatcher.sh \
/system/addon.d/75-nanodroidpatcher.sh \
/system/addon.d/999-nanodroidpatcher.sh
# remove old, unused dexpatcher instances
rm -f ${PATCHER_ADDOND_DATA}/dexpatcher_19.dex \
${PATCHER_ADDOND_DATA}/dexpatcher_26.dex
for file in core_services.jar.dex dexpatcher.dex \
for file in core_services.jar.dex dexpatcher_19.dex dexpatcher_26.dex \
hook_4.1-6.0_services.jar.dex hook_7.0-10.0_services.jar.dex \
baksmali_23.dex baksmali_25.dex baksmali_26.dex \
smali_23.dex smali_25.dex smali_26.dex \

Binary file not shown.

Binary file not shown.

Binary file not shown.