fix: patcher(mbcpapp.sh): wrong handling
separate function fixed it Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
bf39876c69
commit
f413ecfb68
1 changed files with 7 additions and 1 deletions
|
|
@ -313,9 +313,15 @@ convert_apks() {
|
||||||
info "You probably can continue to unpack APK!"
|
info "You probably can continue to unpack APK!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newbehavior() {
|
||||||
|
warn "App is newer v6.5.15+! Patches continue to work, but you can't login"
|
||||||
|
warn "Until a workaround is implemented :("
|
||||||
|
confirm || exit 1
|
||||||
|
}
|
||||||
|
|
||||||
run_patcher() {
|
run_patcher() {
|
||||||
# check v6.5.15+
|
# check v6.5.15+
|
||||||
[ -f "$DIRPATH"/mbapk/mbapk_unpacked/root/lib/arm64-v8a/libnframes.so ] && warn "You are using v6.5.15+! Patches continue to work but you can't login until a workaround is implemented !" && confirm || return 0
|
[ -f "$DIRPATH"/mbapk/mbapk_unpacked/root/lib/arm64-v8a/libnframes.so ] && newbehavior
|
||||||
is_unpacked_lib && bash ./parse.sh && bash ./patch.sh
|
is_unpacked_lib && bash ./parse.sh && bash ./patch.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue