mbcpapp.sh: completely remove termux & wsl check
Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
46b74a218c
commit
b3e0463948
1 changed files with 0 additions and 11 deletions
|
|
@ -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 : '
|
||||
|
|
|
|||
Loading…
Reference in a new issue