From 017ae108bdd78d82c09d4ed9e2443bacf657690f Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 30 Nov 2020 11:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- script/install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e0cfc8e..97f1d25 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ C/S 采用 gRPC 通信,客户端通过添加主机生成的单独 Token 上报 ```shell curl -L https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh -sudo nezha.sh +sudo ./nezha.sh ``` ## FAQ diff --git a/script/install.sh b/script/install.sh index 7d98217..458ffa9 100755 --- a/script/install.sh +++ b/script/install.sh @@ -16,6 +16,7 @@ red='\033[0;31m' green='\033[0;32m' yellow='\033[0;33m' plain='\033[0m' +export PATH=$PATH:/usr/local/bin os_version="" os_arch=""