fixup! mbcpapp.sh: move common include sooner

make logging functions available earlier

Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
Hikarie Fukirei 2025-07-31 08:58:10 +07:00
commit dd00ac019e

View file

@ -12,7 +12,9 @@ mkdir -p "$DIRPATH"/mbcpapp_apk
mkdir -p "$DIRPATH"/tools
clear
# Check if user runs on actual Linux environment
. "$DIRPATH/common.sh"
# Check if user is running on an actual Linux environment
if uname -a | grep -i Linux ; then
info "You have Linux environment :)"
fi
@ -32,8 +34,6 @@ else
FIGLET=:
fi
. "$DIRPATH/common.sh"
# Check if java exists
echo 'Checking if Java exists...'
if ! java -version ; then