Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Rate limit · GitHub

Whoa there!

You have triggered an abuse detection mechanism.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

Toyo authored Mar 6, 2018
1 parent ff7edca commit 84f3c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goflyway.sh
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ check_new_ver(){
new_ver=$(wget -qO- "https://github.com/coyove/goflyway/tags"|grep "/goflyway/releases/tag/"|grep -v '\-apk'|head -n 1|awk -F "/tag/" '{print $2}'|sed 's/\">//')
if [[ -z ${new_ver} ]]; then
echo -e "${Error} GoFlyway 最新版本获取失败,请手动获取最新版本号[ https://github.com/coyove/goflyway/releases ]"
stty erase '^H' && read -p "请输入版本号 [ 格式如 v1.0.0 ] :" new_ver
stty erase '^H' && read -p "请输入版本号 [ 格式如 v1.1.0a ] :" new_ver
[[ -z "${new_ver}" ]] && echo "取消..." && exit 1
else
echo -e "${Info} 检测到 GoFlyway 最新版本为 [ ${new_ver} ]"

0 comments on commit 84f3c37

Please sign in to comment.