From c70b422371a258c2fcf094ece4bec689b7248866 Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Mon, 8 Feb 2021 22:41:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Clone:=20Vssr=20Bypass=20?= =?UTF-8?q?=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoBuild_DiyScript.sh | 2 ++ Scripts/AutoBuild_Function.sh | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/Scripts/AutoBuild_DiyScript.sh b/Scripts/AutoBuild_DiyScript.sh index dde9a43..170f604 100644 --- a/Scripts/AutoBuild_DiyScript.sh +++ b/Scripts/AutoBuild_DiyScript.sh @@ -11,6 +11,8 @@ Diy_Core() { INCLUDE_AutoBuild_Tools=true INCLUDE_SSR_Plus=true INCLUDE_Passwall=false + INCLUDE_HelloWorld=false + INCLUDE_Bypass=false INCLUDE_Keep_Latest_Xray=true INCLUDE_mt7621_OC1000MHz=true INCLUDE_Enable_FirewallPort_53=true diff --git a/Scripts/AutoBuild_Function.sh b/Scripts/AutoBuild_Function.sh index c39c312..7ca14b0 100644 --- a/Scripts/AutoBuild_Function.sh +++ b/Scripts/AutoBuild_Function.sh @@ -23,6 +23,14 @@ Diy_Part1_Base() { ExtraPackages git lean helloworld https://github.com/fw876 master sed -i 's/143/143,25,5222/' package/lean/helloworld/luci-app-ssr-plus/root/etc/init.d/shadowsocksr fi + if [[ "${INCLUDE_HelloWorld}" == "true" ]];then + ExtraPackages git lean luci-app-vssr https://github.com/jerrykuku master + fi + if [[ "${INCLUDE_Bypass}" == "true" ]];then + ExtraPackages git other luci-app-bypass https://github.com/garypang13 main + find package/*/ feeds/*/ -maxdepth 2 -path "*luci-app-bypass/Makefile" | xargs -i sed -i 's/shadowsocksr-libev-ssr-redir/shadowsocksr-libev-alt/g' {} + find package/*/ feeds/*/ -maxdepth 2 -path "*luci-app-bypass/Makefile" | xargs -i sed -i 's/shadowsocksr-libev-ssr-server/shadowsocksr-libev-server/g' {} + fi if [[ "${INCLUDE_Keep_Latest_Xray}" == "true" ]];then Update_Makefile xray-core package/lean/helloworld/xray-core # Update_Makefile v2ray package/lean/v2ray