parse.sh: handle cancellation more peacefully

the patch didnt "fail"

Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
Hikarie Fukirei 2025-09-14 19:05:24 +07:00
commit 3c2976de87

View file

@ -28,6 +28,8 @@ applyPatch() {
if bash "$2" ; then
good "Patch [$opt] applied successfully"
echo "Patch applied by MBCPApp Patcher on $(uname -s -r) with commit : $(git rev-parse --short HEAD) at $(date)." > "mbapk/mbapk_unpacked/root/assets/mbcp_info/$1.inf"
elif [ "$?" -eq "69" ] ; then
warn "Patch [$opt] was cancelled by the user"
else
err "Patch [$opt] failed"
fi