diff --git a/README.md b/README.md index 347e18fe6..a572c25bb 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # 耗子Linux面板 -[![Release](https://img.shields.io/github/release/HaoZi-Team/Panel.svg)](https://github.com/HaoZi-Team/Panel/releases) -[![Test](https://github.com/HaoZi-Team/Panel/actions/workflows/test.yml/badge.svg)](https://github.com/HaoZi-Team/Panel/actions) -[![Report Card](https://goreportcard.com/badge/github.com/HaoZi-Team/Panel)](https://goreportcard.com/report/github.com/HaoZi-Team/Panel) -[![Codecov](https://codecov.io/gh/HaoZi-Team/Panel/branch/main/graph/badge.svg?token=XFT5NGNSRG)](https://codecov.io/gh/HaoZi-Team/Panel) -![License](https://img.shields.io/github/license/HaoZi-Team/Panel) +[![Release](https://img.shields.io/github/release/haozi-team/panel.svg)](https://github.com/haozi-team/panel/releases) +[![Test](https://github.com/haozi-team/panel/actions/workflows/test.yml/badge.svg)](https://github.com/haozi-team/panel/actions) +[![Report Card](https://goreportcard.com/badge/github.com/haozi-team/panel)](https://goreportcard.com/report/github.com/haozi-team/panel) +[![Codecov](https://codecov.io/gh/haozi-team/panel/branch/main/graph/badge.svg?token=XFT5NGNSRG)](https://codecov.io/gh/haozi-team/panel) +![License](https://img.shields.io/github/license/haozi-team/panel) 这是耗子Linux面板的开源仓库,基于Apache License 2.0协议进行开源,目前处于积极开发状态。 @@ -70,4 +70,4 @@ panel ## Star 趋势 -[![Star 趋势](https://starchart.cc/HaoZi-Team/Panel.svg)](https://starchart.cc/HaoZi-Team/Panel) +[![Star 趋势](https://starchart.cc/haozi-team/panel.svg)](https://starchart.cc/haozi-team/panel) diff --git a/pkg/tools/tools.go b/pkg/tools/tools.go index b95aaa8d4..f7357cf17 100644 --- a/pkg/tools/tools.go +++ b/pkg/tools/tools.go @@ -69,7 +69,7 @@ type PanelInfo struct { func GetLatestPanelVersion() (PanelInfo, error) { var info PanelInfo - cmd := exec.Command("/bin/bash", "-c", "curl \"https://api.github.com/repos/HaoZi-Team/Panel/releases/latest\"") + cmd := exec.Command("/bin/bash", "-c", "curl \"https://api.github.com/repos/haozi-team/panel/releases/latest\"") output, err := cmd.Output() if err != nil { return info, errors.New("获取最新版本失败") diff --git a/scripts/install_panel.sh b/scripts/install_panel.sh index 210484421..612296896 100644 --- a/scripts/install_panel.sh +++ b/scripts/install_panel.sh @@ -170,9 +170,9 @@ Init_Panel() { rm -rf ${setup_Path}/panel/* # 下载面板zip包并解压 if [ "${ARCH}" == "x86_64" ]; then - panelZip=$(curl "https://api.github.com/repos/HaoZi-Team/Panel/releases/latest" | jq -r '.assets[] | select(.name | contains("amd64v2")) | .browser_download_url') + panelZip=$(curl "https://api.github.com/repos/haozi-team/panel/releases/latest" | jq -r '.assets[] | select(.name | contains("amd64v2")) | .browser_download_url') elif [ "${ARCH}" == "aarch64" ]; then - panelZip=$(curl "https://api.github.com/repos/HaoZi-Team/Panel/releases/latest" | jq -r '.assets[] | select(.name | contains("arm64")) | .browser_download_url') + panelZip=$(curl "https://api.github.com/repos/haozi-team/panel/releases/latest" | jq -r '.assets[] | select(.name | contains("arm64")) | .browser_download_url') else echo -e $HR echo "错误:该系统架构不支持安装耗子Linux面板,请更换x86_64/aarch64架构安装。"