From fd0be4dba11ff0bbc46c5b267b641eb896767454 Mon Sep 17 00:00:00 2001 From: Tony <1462668901@qq.com> Date: Fri, 29 Apr 2022 00:47:16 +0800 Subject: [PATCH 1/3] fix `tar: This does not look like a tar archive` --- script/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/install.sh b/script/install.sh index 3a27fad..41d09f9 100755 --- a/script/install.sh +++ b/script/install.sh @@ -205,7 +205,7 @@ install_agent() { echo -e "${red}Release 下载失败,请检查本机能否连接 ${GITHUB_URL}${plain}" return 0 fi - tar xf nezha-agent_linux_${os_arch}.zip && + unzip -qo nezha-agent_linux_${os_arch}.zip && mv nezha-agent $NZ_AGENT_PATH && rm -rf nezha-agent_linux_${os_arch}.zip README.md From fa2706ebf051fb35fd3f674b4983b0d6ea3df0a1 Mon Sep 17 00:00:00 2001 From: naiba Date: Fri, 29 Apr 2022 09:27:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=20jsdelivr=20=E6=B1=A1?= =?UTF-8?q?=E6=9F=93=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- resource/template/dashboard/server.html | 2 +- resource/template/dashboard/terminal.html | 8 ++++---- resource/template/theme-daynight/home.html | 4 ++-- resource/template/theme-hotaru/home.html | 8 ++++---- resource/template/theme-mdui/home.html | 6 +++--- resource/template/theme-mdui/service.html | 6 +++--- resource/template/theme-mdui/viewpassword.html | 6 +++--- script/install.sh | 13 +++++++------ 9 files changed, 29 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 402b241..b133980 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------- | | ![默认主题](resource/template/theme-default/screenshot.png) | | | |
默认主题魔改 [教程]
|
Neko Mdui @MikoyChinese
| | -| ![默认主题魔改](https://cdn.jsdelivr.net/gh/idarku/img@main/me/1631120192341.webp) | ![Neko Mdui](resource/template/theme-mdui/screenshot.png) | | +| ![默认主题魔改](https://fastly.jsdelivr.net/gh/idarku/img@main/me/1631120192341.webp) | ![Neko Mdui](resource/template/theme-mdui/screenshot.png) | | ## 安装脚本 @@ -32,7 +32,7 @@ sudo ./nezha.sh 国内镜像加速: ```shell -curl -L https://cdn.jsdelivr.net/gh/naiba/nezha@master/script/install.sh -o nezha.sh && chmod +x nezha.sh +curl -L https://fastly.jsdelivr.net/gh/naiba/nezha@master/script/install.sh -o nezha.sh && chmod +x nezha.sh CN=true sudo ./nezha.sh ``` diff --git a/resource/template/dashboard/server.html b/resource/template/dashboard/server.html index 98bef0f..33818e8 100644 --- a/resource/template/dashboard/server.html +++ b/resource/template/dashboard/server.html @@ -76,7 +76,7 @@ {{template "component/server" .}} {{template "common/footer" .}} - + - - + + + - - + + - + + - + - - + + - - + + - + +