From a0a03510a251ffd3599e5c2d4a54e325b88ea34c Mon Sep 17 00:00:00 2001 From: fukiame Date: Fri, 25 Jul 2025 09:30:03 +0700 Subject: [PATCH] chore: patch.sh: quote get_mb_ver invokes In patch.sh line 163: if [ $(get_mb_ver) -lt 55 ] ; then ^-----------^ SC2046 (warning): Quote this to prevent word splitting. In patch.sh line 234: if [ $(get_mb_ver) -gt 56 ] ; then ^-----------^ SC2046 (warning): Quote this to prevent word splitting. Signed-off-by: fukiame --- MBCPApp/patch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MBCPApp/patch.sh b/MBCPApp/patch.sh index 4e794f2..698c427 100755 --- a/MBCPApp/patch.sh +++ b/MBCPApp/patch.sh @@ -162,7 +162,7 @@ do elif [ "$opt" == 'Bypass accessibility & malicious apps check' ]; then if [ -d ~/mbbpatch/MBCPApp/patches/bypass_accessibility_applist ] then - if [ $(get_mb_ver) -lt 55 ] ; then + if [ "$(get_mb_ver)" -lt 55 ] ; then echo "Applying patch [Bypass accessibility & malicious apps check]..." echo 'Copying patched code [MbbankUtilitiesPlugin]...' cp -r -f 'patches/bypass_accessibility_applist/com' 'mbapk/mbapk_unpacked/smali_classes3' @@ -233,7 +233,7 @@ do echo "Applied [Remove eMBee] patch !!!" elif [ "$opt" == 'Remove VNPAY VMB20' ]; then - if [ $(get_mb_ver) -gt 56 ] ; then + if [ "$(get_mb_ver)" -gt 56 ] ; then echo "Applying patch..." rm -rf 'mbapk/mbapk_unpacked/smali_classes4/com/vnpay' rm -rf 'mbapk/mbapk_unpacked/smali_classes4/com/d5'