diff --git a/README.md b/README.md index ffe6395..05f2314 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-GitHub release (with filter)    +GitHub release (with filter)   

:trollface: Nezha Monitoring: Self-hostable, lightweight, servers and websites monitoring and O&M tool.

diff --git a/script/install.ps1 b/script/install.ps1 index ae7a992..979ecf0 100644 --- a/script/install.ps1 +++ b/script/install.ps1 @@ -38,8 +38,8 @@ $download = "https://github.com/$agentrepo/releases/download/$agenttag/$file" $nssmdownload="https://github.com/$nssmrepo/releases/download/$nssmtag/nssm.zip" Write-Host "Location:$region,connect directly!" -BackgroundColor DarkRed -ForegroundColor Green }else{ -$download = "https://kkgithub.com/$agentrepo/releases/download/$agenttag/$file" -$nssmdownload="https://kkgithub.com/$nssmrepo/releases/download/$nssmtag/nssm.zip" +$download = "https://dn-dao-github-mirror.daocloud.io/$agentrepo/releases/download/$agenttag/$file" +$nssmdownload="https://dn-dao-github-mirror.daocloud.io/$nssmrepo/releases/download/$nssmtag/nssm.zip" Write-Host "Location:CN,use mirror address" -BackgroundColor DarkRed -ForegroundColor Green } echo $download diff --git a/script/install.sh b/script/install.sh index be01e0a..4324d9e 100755 --- a/script/install.sh +++ b/script/install.sh @@ -14,7 +14,7 @@ NZ_AGENT_SERVICE="/etc/systemd/system/nezha-agent.service" NZ_AGENT_SERVICERC="/etc/init.d/nezha-agent" NZ_DASHBOARD_SERVICE="/etc/systemd/system/nezha-dashboard.service" NZ_DASHBOARD_SERVICERC="/etc/init.d/nezha-dashboard" -NZ_VERSION="v0.15.8" +NZ_VERSION="v0.15.9" red='\033[0;31m' green='\033[0;32m' @@ -94,7 +94,7 @@ pre_check() { Docker_IMG="ghcr.io\/naiba\/nezha-dashboard" else GITHUB_RAW_URL="gitee.com/naibahq/nezha/raw/master" - GITHUB_URL="kkgithub.com" + GITHUB_URL="dn-dao-github-mirror.daocloud.io" Get_Docker_URL="get.docker.com" Get_Docker_Argu=" -s docker --mirror Aliyun" Docker_IMG="registry.cn-shanghai.aliyuncs.com\/naibahq\/nezha-dashboard" diff --git a/script/install_en.sh b/script/install_en.sh index 4badc3a..f5c40c7 100755 --- a/script/install_en.sh +++ b/script/install_en.sh @@ -14,7 +14,7 @@ NZ_AGENT_SERVICE="/etc/systemd/system/nezha-agent.service" NZ_AGENT_SERVICERC="/etc/init.d/nezha-agent" NZ_DASHBOARD_SERVICE="/etc/systemd/system/nezha-dashboard.service" NZ_DASHBOARD_SERVICERC="/etc/init.d/nezha-dashboard" -NZ_VERSION="v0.15.8" +NZ_VERSION="v0.15.9" red='\033[0;31m' green='\033[0;32m' @@ -93,7 +93,7 @@ pre_check() { Docker_IMG="ghcr.io\/naiba\/nezha-dashboard" else GITHUB_RAW_URL="gitee.com/naibahq/nezha/raw/master" - GITHUB_URL="kkgithub.com" + GITHUB_URL="dn-dao-github-mirror.daocloud.io" Get_Docker_URL="get.docker.com" Get_Docker_Argu=" -s docker --mirror Aliyun" Docker_IMG="registry.cn-shanghai.aliyuncs.com\/naibahq\/nezha-dashboard"