From bf92d8a8e3c24ccbcad096a4915f11bac3ba1cdf Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Wed, 10 Feb 2021 18:14:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20OpenClash=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=96=B9=E5=BC=8F=E4=B8=BA=E5=BC=80=E5=85=B3=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoBuild_DiyScript.sh | 9 +++++---- Scripts/AutoBuild_Function.sh | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Scripts/AutoBuild_DiyScript.sh b/Scripts/AutoBuild_DiyScript.sh index 170f604..1c5977b 100644 --- a/Scripts/AutoBuild_DiyScript.sh +++ b/Scripts/AutoBuild_DiyScript.sh @@ -9,13 +9,15 @@ Diy_Core() { INCLUDE_AutoUpdate=true INCLUDE_AutoBuild_Tools=true + INCLUDE_Keep_Latest_Xray=true + INCLUDE_mt7621_OC1000MHz=true + INCLUDE_Enable_FirewallPort_53=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 + INCLUDE_OpenClash=true } Diy-Part1() { @@ -42,7 +44,6 @@ Diy-Part1() { ExtraPackages git other luci-app-argon-config https://github.com/jerrykuku master ExtraPackages git other luci-app-adguardhome https://github.com/Hyy2001X master ExtraPackages svn other luci-app-smartdns https://github.com/project-openwrt/openwrt/trunk/package/ntlf9t - ExtraPackages svn other luci-app-openclash https://github.com/vernesong/OpenClash/trunk ExtraPackages git other luci-app-serverchan https://github.com/tty228 master ExtraPackages svn other luci-app-socat https://github.com/Lienol/openwrt-package/trunk ExtraPackages svn other luci-app-usb3disable https://github.com/project-openwrt/openwrt/trunk/package/ctcgfw diff --git a/Scripts/AutoBuild_Function.sh b/Scripts/AutoBuild_Function.sh index 7ca14b0..38cb0cc 100644 --- a/Scripts/AutoBuild_Function.sh +++ b/Scripts/AutoBuild_Function.sh @@ -31,6 +31,9 @@ Diy_Part1_Base() { 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_OpenClash}" == "true" ]];then + ExtraPackages svn other luci-app-openclash https://github.com/vernesong/OpenClash/trunk + fi if [[ "${INCLUDE_Keep_Latest_Xray}" == "true" ]];then Update_Makefile xray-core package/lean/helloworld/xray-core # Update_Makefile v2ray package/lean/v2ray