feat: notice with extract assets for v6.4.86+
find `libvcm1.so` because it only exists as of v6.4.86+ not effective ig Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
bac96f2324
commit
1891b7b2ae
2 changed files with 9 additions and 0 deletions
|
|
@ -106,6 +106,14 @@ iszdefend() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isvcm1() {
|
||||||
|
if [[ -f mbapk/mbapk_unpacked/root/lib/arm64-v8a/libvcm1.so ]]; then
|
||||||
|
warn "As of v6.4.86+, to extract assets, you need to clear app data and then open the app again!"
|
||||||
|
else
|
||||||
|
info "[libvcm1.so] not found! ignoring notice"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
manifest_remove() {
|
manifest_remove() {
|
||||||
sed -i "/$1/d" "$DIRPATH"/mbapk/mbapk_unpacked/AndroidManifest.xml && \
|
sed -i "/$1/d" "$DIRPATH"/mbapk/mbapk_unpacked/AndroidManifest.xml && \
|
||||||
info "[manifest_remove] removing $1" || \
|
info "[manifest_remove] removing $1" || \
|
||||||
|
|
|
||||||
|
|
@ -290,6 +290,7 @@ do
|
||||||
'MBShield Check' ) check_mbshield ;;
|
'MBShield Check' ) check_mbshield ;;
|
||||||
'Convert apks to apk' ) convert_apks ;;
|
'Convert apks to apk' ) convert_apks ;;
|
||||||
'Extract assets [ROOT]' )
|
'Extract assets [ROOT]' )
|
||||||
|
isvcm1
|
||||||
iszdefend
|
iszdefend
|
||||||
info 'To extract encrypted assets [if current app has MBShield protection] you need rooted device'
|
info 'To extract encrypted assets [if current app has MBShield protection] you need rooted device'
|
||||||
info 'And trigger a bulit-in app assets extraction !'
|
info 'And trigger a bulit-in app assets extraction !'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue