From 9a0d5fadc1807628932d08b3032ed51bbdde0578 Mon Sep 17 00:00:00 2001 From: fukiame Date: Sat, 26 Jul 2025 20:02:12 +0700 Subject: [PATCH] chore: mbcpapp.sh: include vim formattings, tidy up some comments Signed-off-by: fukiame --- MBCPApp/mbcpapp.sh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/MBCPApp/mbcpapp.sh b/MBCPApp/mbcpapp.sh index e79593a..5a0395c 100755 --- a/MBCPApp/mbcpapp.sh +++ b/MBCPApp/mbcpapp.sh @@ -1,8 +1,9 @@ #!/bin/bash +# vim: expandtab tabstop=4 shiftwidth=4 -# Fun fact is this project made with -# A tinkerer, not developer xD -# You might see this line but ignore it then continues calling me a developer, but after all, i just a loser :D +# Fun fact is this project made by +# a tinkerer, not developer xD +# You might see this line but still ignore it then continue calling me a developer, but after all, i'm just a loser :D # Initial startup mkdir -p ~/mbbpatch/MBCPApp/mbapk @@ -10,13 +11,13 @@ mkdir -p ~/mbbpatch/MBCPApp/mbcpapp_apk mkdir -p ~/mbbpatch/MBCPApp/tools clear -# Check if user runs on actual Linux environment +# Check if user is running on an actual Linux environment if uname -a | grep -i Linux ; then echo "INFO : You have Linux environment :)" fi -# Check if user trying to run under HyperV (Windows Subsystem For Linux) -# Remove this detection part to bypass WSL detection might lead project development to be STOPPED, You've warned ! +# Check if user is trying to run under WSL (Windows Subsystem for Linux) +# Removing this detection part might cause project development to be STOPPED, You've been warned ! if [ -f /proc/sys/fs/binfmt_misc/WSLInterop ]; then exit fi @@ -29,7 +30,7 @@ else FIGLET=: fi -# Check if java exists on /usr/bin/java +# Check if java exists echo 'Checking if Java exists...' if ! java -version ; then echo "ERROR : Java not found !!!" @@ -49,9 +50,9 @@ clear # Banner $FIGLET "MBCPApp Patcher" echo ------------------------------------------------------------- -echo "Patching-tool for MB Bank app with Flutter engine (v6.4.0+)" -echo "Original APK path must be inside [mbapk] folder !" -echo "IMPORTANT : Script must be run on [~/mbbpatch/MBCPApp] !" +echo "Patching tool for MB Bank app with Flutter engine (v6.4.0+)" +echo "Original APK must be inside [mbapk] folder !" +echo "IMPORTANT : Script must be run at [~/mbbpatch/MBCPApp] !" echo ------------------------------------------------------------- echo "Current commit : $COMMIT (mbflutter)" echo "Source code : https://gitlab.com/mbcp/mbbpatch"