不再检测是否为termux

保留此处代码,只将检测结果设为0(非termux)。
因为检测termux好像用处不大,原生termux安装青龙几乎没有应用场景,且termux可以直接安装Linux发行版避免此处考虑到的各种问题。
This commit is contained in:
二毛 2022-05-29 09:07:52 +08:00 committed by GitHub
parent 99d7eaeff0
commit 5118f73ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ make_dir() {
detect_termux() {
if [[ ${ANDROID_RUNTIME_ROOT}${ANDROID_ROOT} ]] || [[ $PATH == *com.termux* ]]; then
is_termux=1
is_termux=0
else
is_termux=0
fi