Update customize.sh

This commit is contained in:
j-hc 2024-12-06 07:45:33 +03:00 committed by GitHub
parent b18024dce9
commit f0dfc3b49e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"