From eb049bcdaed010a4ed5888bb8f63b4387a2bb3a8 Mon Sep 17 00:00:00 2001 From: eddy <1036636139@qq.com> Date: Thu, 13 Nov 2025 11:56:11 +0800 Subject: [PATCH] v2raya.sh --- README.md | 5 +++++ v2raya.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b1ffef..19f71cc 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,9 @@ curl -sS -O https://gitea.tohub.top/Share/script/raw/branch/main/ss2022-manager. curl -sS -O https://gitea.tohub.top/Share/script/raw/branch/main/ddns-go.sh && chmod +x ddns-go.sh && ./ddns-go.sh ``` +- v2raya.sh + +```sh +bash <(curl -fsSL https://gitea.tohub.top/Share/script/raw/branch/main/v2raya.sh) +``` diff --git a/v2raya.sh b/v2raya.sh index 8662f6b..8c4e6bd 100644 --- a/v2raya.sh +++ b/v2raya.sh @@ -1,7 +1,7 @@ #!/bin/bash # V2rayA 自动安装/卸载脚本 # 使用方法: chmod +x v2raya.sh && ./v2raya.sh -# curl -sS -O https://gitea.tohub.top/Share/vps/raw/branch/main/v2raya/v2raya.sh && chmod +x v2raya.sh && ./v2raya.sh +# curl -sS -O https://gitea.tohub.top/Share/script/raw/branch/main/v2raya.sh && chmod +x v2raya.sh && ./v2raya.sh # 彩色输出 RED='\033[0;31m' @@ -13,7 +13,7 @@ NC='\033[0m' # No Color # 配置变量 INSTALL_DIR="/root/data/docker_data/v2raya" -BASE_URL="https://gitea.tohub.top/Share/vps/raw/branch/main/v2raya" +BASE_URL="https://gitea.tohub.top/Share/script/raw/branch/main" XRAY_VERSION="25.8.3" V2RAYA_VERSION="2.2.7.4"