vpn菜单,xboard bug

This commit is contained in:
lsy 2024-09-22 21:07:50 +08:00
parent 708d58ed46
commit 04d80bb5fc
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,11 @@ cd ..
rm -rf "$namediv"
git clone -b docker-compose --depth 1 https://github.com/cedar2025/Xboard
mv Xboard "$namediv"
if [[ "$namediv" != Xboard ]];then
mv Xboard "$namediv"
fi
cd "$path"
docker compose run -it --rm xboard php artisan xboard:install

View File

@ -2,7 +2,7 @@
declare vpn_number=0
declare -a vpn_index
declare -A vpn_array
declarec vpn_pick
declare vpn_pick
vpn_array["v2ray"]='bash <(curl -s -L https://git.io/v2ray.sh)'
vpn_array["v2ray-agent"]='wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh'