diff --git a/Config/Docker/Xboard.sh b/Config/Docker/Xboard.sh index b7b1751..a0d5607 100644 --- a/Config/Docker/Xboard.sh +++ b/Config/Docker/Xboard.sh @@ -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 diff --git a/Menus/Vpn.sh b/Menus/Vpn.sh index 4e41cb9..669b36e 100644 --- a/Menus/Vpn.sh +++ b/Menus/Vpn.sh @@ -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'