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:
parent
8f3080e7df
commit
74ac78f682
1 changed files with 6 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# PATCHNAME: Fix outdated VTAP certificate
|
# PATCHNAME: Fix VTAP certificate
|
||||||
# MAXVER: 6.4.89
|
# MAXVER:
|
||||||
# MINVER:
|
# MINVER:
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
. "$DIRPATH"/common.sh
|
. "$DIRPATH"/common.sh
|
||||||
|
|
@ -17,8 +17,9 @@ info "Not needed for newer app version (like v6.4.94)"
|
||||||
nofwfound() {
|
nofwfound() {
|
||||||
err "no VTAP firmware in [fixcert] folder found!"
|
err "no VTAP firmware in [fixcert] folder found!"
|
||||||
info "copy [firmware] and [profile] file to [fixcert] folder to continue."
|
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 "[firmware] and [profile] can be found in [assets], please find from newer or older app."
|
||||||
info "recommended app : v6.4.94"
|
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
|
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/
|
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 "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."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue