INNER CODE UNIT · Shell
$j
ax/apk.sh · apk.sh:579
if [[ $j == *AndroidManifest.xml ]] || [[ $j == *apktool.yml ]] || [[ $j == *original ]]; then
print_ "[-] Skip!"
continue
fi
# Copy files into the base APK, except for XML files in the res directory
if [[ $j == */res ]]; then
print_ "[.] /res direcorty found!":
(cd $j; find . -type f ! -name '*.xml' -exec cp --parents {} ../../base/res/ \;)# -exec echo '[+] Copying res that are not xml {}'\;)
continue
fi
print_ "[>] Copying directory cp -R $j in $SPLIT_DIR/base/ ...."
cp -R $j $SPLIT_DIR"/base/"
done
done
echo "[>] Fixing APKTOOL_DUMMY public resource identifiers..."
echo "[>] - Find all public DUMMY_NAME/REAL_NAME pairs ..."
# Fix public resource identifiers.