mirror of https://github.com/wulabing/Xray_onekey
alterid 仅数字 输入提示
parent
e664d55860
commit
61aca1d675
|
@ -180,7 +180,7 @@ basic_optimization(){
|
||||||
port_alterid_set(){
|
port_alterid_set(){
|
||||||
read -p "请输入连接端口(default:443):" port
|
read -p "请输入连接端口(default:443):" port
|
||||||
[[ -z ${port} ]] && port="443"
|
[[ -z ${port} ]] && port="443"
|
||||||
read -p "请输入alterID(default:2):" alterID
|
read -p "请输入alterID(default:2 仅允许填数字):" alterID
|
||||||
[[ -z ${alterID} ]] && alterID="2"
|
[[ -z ${alterID} ]] && alterID="2"
|
||||||
}
|
}
|
||||||
modify_port_UUID(){
|
modify_port_UUID(){
|
||||||
|
|
|
@ -177,7 +177,7 @@ dependency_install(){
|
||||||
port_alterid_set(){
|
port_alterid_set(){
|
||||||
stty erase '^H' && read -p "请输入连接端口(default:443):" port
|
stty erase '^H' && read -p "请输入连接端口(default:443):" port
|
||||||
[[ -z ${port} ]] && port="443"
|
[[ -z ${port} ]] && port="443"
|
||||||
stty erase '^H' && read -p "请输入alterID(default:2):" alterID
|
stty erase '^H' && read -p "请输入alterID(default:2 仅允许填数字):" alterID
|
||||||
[[ -z ${alterID} ]] && alterID="2"
|
[[ -z ${alterID} ]] && alterID="2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue