chore: mbcpapp.sh: include vim formattings, tidy up some comments
Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
parent
aa6d1dd96f
commit
9a0d5fadc1
1 changed files with 11 additions and 10 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue