This commit is contained in:
gaofei 2025-01-06 10:52:08 +08:00
parent d470782924
commit fb57013052
2 changed files with 4 additions and 5 deletions

View File

@ -21,10 +21,9 @@ servers["tw1"]="ssh root@tw1.xxoommd.asia"
servers["tw2"]="ssh root@tw2.xxoommd.asia"
servers["tw3"]="ssh root@tw3.xxoommd.asia"
servers["hk1"]="ssh root@hk1.xxoommd.asia"
servers["hk2"]="ssh ubuntu@hk2.xxoommd.asia"
servers["hk2"]="ssh root@hk2.xxoommd.asia"
servers["us1"]="ssh root@us1.xxoommd.asia"
servers["jp"]="ssh ubuntu@jp.xxoommd.asia"
servers["sg"]="ssh ubuntu@sg.xxoommd.asia"
servers["us2"]="ssh root@us2.xxoommd.asia"
servers["ya"]="ssh -p 7189 gaohengyi@jumpserver.yacloud.net"
servers["u1"]="ssh root@u1"

View File

@ -53,11 +53,11 @@ hysteria_download_url=""
if [ "$DOWNLOAD_SRC" = "gitee" ]; then
echo -e "[INFO] Download from ${YELLOW}Gitee${NC} ..."
caddy_download_url="https://gitee.com/xxoommd/magic/releases/download/${TAG}/caddy-linux-amd64"
hysteria_download_url="https://gitee.com/xxoommd/magic/releases/download/${TAG}/hysteria-linxu-amd64-avx"
hysteria_download_url="https://gitee.com/xxoommd/magic/releases/download/${TAG}/hysteria-linux-amd64-avx"
else
echo -e "[INFO] Download from ${YELLOW}Github${NC} ..."
caddy_download_url="https://github.com/xxoommd/magic/releases/download/${TAG}/caddy-linux-amd64"
hysteria_download_url="https://github.com/xxoommd/magic/releases/download/${TAG}/hysteria-linxu-amd64-avx"
hysteria_download_url="https://github.com/xxoommd/magic/releases/download/${TAG}/hysteria-linux-amd64-avx"
fi
# 设置工作目录