新增vpn

This commit is contained in:
lsy 2024-09-20 14:58:32 +08:00
parent 9c5a0e5fda
commit 8c33d581a4

View File

@ -18,7 +18,7 @@ read -p "请输入要选择的序号:" vpn_pick
if [[ -z ${vpn_array[${vpn_index[$vpn_pick]}]} ]];then if [[ -z ${vpn_array[${vpn_index[$vpn_pick]}]} ]];then
echo "输入错误" echo "输入错误"
else else
eval"${vpn_array[${vpn_index[$vpn_pick]}]}" eval "${vpn_array[${vpn_index[$vpn_pick]}]}"
echo "安装完成" echo "安装完成"
fi fi