From 409ef86f3974f33d8ad06eb5f2d6fb84aa2bf3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= Date: Thu, 4 May 2023 04:04:22 +0000 Subject: [PATCH] Update 661.sh --- 661.sh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/661.sh b/661.sh index b438d17..12d6399 100644 --- a/661.sh +++ b/661.sh @@ -948,7 +948,7 @@ fi wget -N https://gitlab.com/rwkgyg/CFwarp/-/raw/main/warp-go_1.0.8_linux_${cpu} -O /usr/local/bin/warp-go && chmod +x /usr/local/bin/warp-go yellow "正在申请WARP普通账户,请稍等" /usr/local/bin/warp-go --register --config=/usr/local/bin/warp.conf >/dev/null 2>&1 -if [[ !-e /usr/local/bin/warp.conf ]]; then +if [[ ! -e /usr/local/bin/warp.conf ]]; then until [[ -e /usr/local/bin/warp.conf ]]; do yellow "正在申请WARP普通账户,请稍等" ungenip @@ -1586,19 +1586,9 @@ wget -N https://gitlab.com/rwkgyg/cfwarp/raw/main/wgcf_2.2.17_$cpu -O /usr/local if [[ $main -lt 5 || $minor -lt 6 ]] || [[ $vi =~ lxc|openvz ]]; then [[ -e /usr/bin/wireguard-go ]] || wget -N https://gitlab.com/rwkgyg/cfwarp/raw/main/wireguard-go -O /usr/bin/wireguard-go && chmod +x /usr/bin/wireguard-go fi - - - -echo | wgcf register -until [[ -e wgcf-account.toml ]] -do -yellow "申请warp普通账户过程中可能会多次提示:429 Too Many Requests,请等待30秒" && sleep 1 -echo | wgcf register --accept-tos -done - yellow "正在申请WARP普通账户,请稍等" echo | wgcf register -if [[ !-e wgcf-account.toml ]]; then +if [[ ! -e wgcf-account.toml ]]; then until [[ -e wgcf-account.toml ]]; do yellow "正在申请WARP普通账户,请稍等" ungenip