From 7dbec0c7a1284c3044a9ff3cf011b0a1c59ae271 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Sat, 28 May 2022 02:52:27 +0800 Subject: [PATCH] =?UTF-8?q?update=20README.md=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- nt_install.sh | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 841484b..69f2205 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ ### Automated Install ```bash +#安装脚本仅支持macOS/Linux, OpenBSD/FreeBSD请到Release页面下载二进制文件使用,其他系统请自行编译 #下载nt_install.sh curl -Ls https://github.com/xgadget-lab/nexttrace/raw/main/nt_install.sh -O #执行nt_install.sh @@ -159,7 +160,7 @@ Options: [Sam Sam](https://github.com/samleong123) (samsam123@samsam123.name.my) -[waiting4new](https://github.com/waiting4new)、[FFEE_CO](https://github.com/fkx4-p)、[nsnnns](https://github.com/tsosunchia) +[waiting4new](https://github.com/waiting4new)、[FFEE_CO](https://github.com/fkx4-p)、[tsosunchia](https://github.com/tsosunchia) ## IP Database Copyright diff --git a/nt_install.sh b/nt_install.sh index 96a2a97..5796929 100644 --- a/nt_install.sh +++ b/nt_install.sh @@ -29,6 +29,12 @@ checkSystemArch() { 'arm64' | 'aarch64') archParam="arm64" ;; + 'armv7l') + archParam='armv7' + ;; + 'i386') + archParam="386" + ;; *) red "未知的系统架构,请联系开发者." exit 1 @@ -47,7 +53,7 @@ checkSystemDistribution() { downPath="/var/tmp/nexttrace" ;; *) - red "unknown: $OSTYPE" + red "安装脚本暂不支持的操作系统: $OSTYPE" exit 1 ;; esac