mbcpapp.sh: completely remove termux & wsl check

Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
Cuynu 2025-09-25 15:13:55 +07:00
commit b3e0463948

View file

@ -240,17 +240,6 @@ echo "Current commit : $COMMIT ($BRANCH)"
echo "Source code : https://git.disroot.org/mbcp/mbbpatch.git"
echo "Made possible by Cuynu's brain with love <3"
echo -------------------------------------------------------------
# Check if user runs on Termux
if [[ -f /data/data/com.termux/files/usr/bin/termux-setup-storage ]]; then
warn "Termux environment detected !"
warn "Patcher continue to runs, but don't report any issues if the app is patched with Termux!"
fi
# 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
warn "WSL environment detected !"
warn "Patcher continue to runs, but don't report any issues if the app is patched with WSL !"
fi
# Main functions
PS3='Please select options to continue : '