fix: patches(fix_vtap_cert): do not throw nofwfound if no profile found
also skip copying `profile` if it not found. Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
74ac78f682
commit
34d379a7c1
1 changed files with 1 additions and 3 deletions
|
|
@ -27,13 +27,11 @@ mkdir -p "$DIRPATH"/fixcert/
|
|||
|
||||
[ ! -f "$DIRPATH"/fixcert/firmware ] && nofwfound
|
||||
|
||||
[ ! -f "$DIRPATH"/fixcert/profile ] && nofwfound
|
||||
|
||||
# fw
|
||||
cp -f "$DIRPATH"/fixcert/firmware "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/
|
||||
|
||||
# profile
|
||||
cp -f "$DIRPATH"/fixcert/profile "$DIRPATH"/mbapk/mbapk_unpacked/root/assets/
|
||||
[ -f "$DIRPATH"/fixcert/profile ] && 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 or the detection is still the same."
|
||||
|
|
|
|||
Loading…
Reference in a new issue