fix: mbcpapp.sh: use uname instead of catting /proc/version

"fix" permission denied on Termux

Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
Hikarie Fukirei 2025-07-23 01:47:23 +07:00 • committed by Cuynu
commit 023adce1a9

View file

@ -11,8 +11,8 @@ mkdir -p ~/mbbpatch/MBCPApp/tools
clear
# Check if user runs on actual Linux environment
if [[ $(grep -i Linux /proc/version) ]]; then
echo "INFO : You have 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)