Update install.sh

This commit is contained in:
嗨!哥们!
2024-10-08 16:22:52 +08:00
committed by GitHub
parent 9e47aa267c
commit 22fb66e7d0
+1 -1
View File
@@ -41,7 +41,7 @@ arch() {
echo ""
echo -e "${yellow}---------->>>>>当前系统的架构为: $(arch)${plain}"
echo ""
last_version=$(curl -Ls "https://api.github.com/repos/xeefei/m-cx/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
last_version=$(curl -Ls "https://api.github.com/repos/gm-cx/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
# 获取 x-ui 版本
xui_version=$(/usr/local/x-ui/x-ui -v)