From 5118f73ca563e1ff9a104051d62572cbcdc3902f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E6=AF=9B?= <76248124+erma0@users.noreply.github.com> Date: Sun, 29 May 2022 09:07:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=86=8D=E6=A3=80=E6=B5=8B=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E4=B8=BAtermux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 保留此处代码,只将检测结果设为0(非termux)。 因为检测termux好像用处不大,原生termux安装青龙几乎没有应用场景,且termux可以直接安装Linux发行版避免此处考虑到的各种问题。 --- shell/share.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/share.sh b/shell/share.sh index 0a6d0bd6..8a2be8c7 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -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