修改 OpenClash 添加方式为开关添加

This commit is contained in:
Hyy2001X
2021-02-10 18:14:23 +08:00
parent e7081a3665
commit bf92d8a8e3
2 changed files with 8 additions and 4 deletions
+3
View File
@@ -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