feat: patches(fix_vtap_cert): allow unlimited app target

and specific app target

Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
Cuynu 2026-06-09 16:04:26 +07:00
commit 456089cf75
Signed by: cuynu
GPG key ID: 1F01341D0B42B51A

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# PATCHNAME: Fix outdated VTAP certificate
# MAXVER: 6.4.89
# PATCHNAME: Fix VTAP certificate
# MAXVER:
# MINVER:
# shellcheck disable=SC1091
. "$DIRPATH"/common.sh
@ -17,8 +17,9 @@ info "Not needed for newer app version (like v6.4.94)"
nofwfound() {
err "no VTAP firmware in [fixcert] folder found!"
info "copy [firmware] and [profile] file to [fixcert] folder to continue."
info "[firmware] and [profile] can be found in [assets], please find from newer app."
info "recommended app : v6.4.94"
info "[firmware] and [profile] can be found in [assets], please find from newer or older app."
info "recommended app : v6.4.94 for fixing v6.4.67 ~ v6.4.91"
info "and v6.4.75 for v6.4.92+ for revert old detection behavior."
exit 1
}
@ -35,4 +36,4 @@ cp -f "$DIRPATH"/fixcert/firmware "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/
cp -f "$DIRPATH"/fixcert/profile "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/
info "Remove [firmware] and [profile] file from [/data/data/com.mbmobile/files] or clear app data"
info "If the app still keep crashing or throwing expired certificate screen."
info "If the app still keep crashing or throwing expired certificate screen or the detection is still the same."