mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-25 15:42:40 +08:00
Update t.sh
Former-commit-id: a51852f251914616538ac67ea7d26cea9412a4f8
This commit is contained in:
@@ -103,7 +103,7 @@ reading(){
|
||||
[[ $LANGUAGE != 2 ]] && T97="It is a WARP+ account already. Update is aborted." || T97="已经是 WARP+ 账户,不需要升级"
|
||||
[[ $LANGUAGE != 2 ]] && T98="1. WGCF WARP account\n 2. WARP Linux Client account\n Choose:" || T98="1. WGCF WARP 账户\n 2. WARP Linux Client 账户\n 请选择:"
|
||||
[[ $LANGUAGE != 2 ]] && T101="Client doesn't support architecture ARM64. The script is aborted. Feedback: [https://github.com/fscarmen/warp/issues]" || T101="Client 不支持 ARM64,问题反馈:[https://github.com/fscarmen/warp/issues]"
|
||||
[[ $LANGUAGE != 2 ]] && T102="Please customize the WARP+ device name (It will automatically generate 5 random strings if it is blank):" || T102="请自定义 WARP+ 设备名 (如果不输入,会自动生成随机的5位字符串):"
|
||||
[[ $LANGUAGE != 2 ]] && T102="Please customize the WARP+ device name (It will automatically generate 6 random strings if it is blank):" || T102="请自定义 WARP+ 设备名 (如果不输入,会自动生成随机的6位字符串):"
|
||||
|
||||
# 当前脚本版本号和新增功能
|
||||
VERSION=2.09
|
||||
@@ -393,7 +393,9 @@ until [[ -z $LICENSE || ${#LICENSE} = 26 ]]
|
||||
[[ $LANGUAGE != 2 ]] && T30="License should be 26 characters, please re-enter WARP+ License. Otherwise press Enter to continue. ($i times remaining)" || T30="License 应为26位字符,请重新输入 Warp+ License,没有可回车继续(剩余$i次)"
|
||||
[[ $i = 0 ]] && red " $T29 " && exit 1 || reading " $T30: " LICENSE
|
||||
done
|
||||
red " 1 $NAME "
|
||||
[[ -n $LICENSE && -z $NAME ]] && reading " $T102 " NAME
|
||||
red " 2 $NAME "
|
||||
[[ -n $NAME ]] && DEVICE="--name $NAME"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user