From 3c2976de871ebc7078b6b83ce7afc31ae187ab34 Mon Sep 17 00:00:00 2001 From: fukiame Date: Sun, 14 Sep 2025 19:05:24 +0700 Subject: [PATCH] parse.sh: handle cancellation more peacefully the patch didnt "fail" Signed-off-by: fukiame --- MBCPApp/parse.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MBCPApp/parse.sh b/MBCPApp/parse.sh index e268387..b3d92ca 100644 --- a/MBCPApp/parse.sh +++ b/MBCPApp/parse.sh @@ -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