From f0dfc3b49ea14e4d909370816451655b84511c6b Mon Sep 17 00:00:00 2001 From: j-hc <25510067+j-hc@users.noreply.github.com> Date: Fri, 6 Dec 2024 07:45:33 +0300 Subject: [PATCH] Update customize.sh --- revanced-magisk/customize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revanced-magisk/customize.sh b/revanced-magisk/customize.sh index 4cd0c5f..d664ab2 100755 --- a/revanced-magisk/customize.sh +++ b/revanced-magisk/customize.sh @@ -136,9 +136,9 @@ install() { settings put global verifier_verify_adb_installs "$VERIF_ADB" } if [ $INS = true ] && ! install; then abort; fi +BASEPATHLIB=${BASEPATH}/lib/${ARCH} if [ $INS = true ] || [ -z "$(ls -A1 "$BASEPATHLIB")" ]; then ui_print "* Extracting native libs" - BASEPATHLIB=${BASEPATH}/lib/${ARCH} if [ ! -d "$BASEPATHLIB" ]; then mkdir -p "$BASEPATHLIB"; else rm -f "$BASEPATHLIB"/* >/dev/null 2>&1 || :; fi if ! op=$(unzip -o -j "$MODPATH/$PKG_NAME.apk" "lib/${ARCH_LIB}/*" -d "$BASEPATHLIB" 2>&1); then ui_print "ERROR: extracting native libs failed"