添加 Clone: Vssr Bypass 开关
This commit is contained in:
		
							parent
							
								
									7000a86314
								
							
						
					
					
						commit
						c70b422371
					
				|  | @ -11,6 +11,8 @@ Diy_Core() { | ||||||
| 	INCLUDE_AutoBuild_Tools=true | 	INCLUDE_AutoBuild_Tools=true | ||||||
| 	INCLUDE_SSR_Plus=true | 	INCLUDE_SSR_Plus=true | ||||||
| 	INCLUDE_Passwall=false | 	INCLUDE_Passwall=false | ||||||
|  | 	INCLUDE_HelloWorld=false | ||||||
|  | 	INCLUDE_Bypass=false | ||||||
| 	INCLUDE_Keep_Latest_Xray=true | 	INCLUDE_Keep_Latest_Xray=true | ||||||
| 	INCLUDE_mt7621_OC1000MHz=true | 	INCLUDE_mt7621_OC1000MHz=true | ||||||
| 	INCLUDE_Enable_FirewallPort_53=true | 	INCLUDE_Enable_FirewallPort_53=true | ||||||
|  |  | ||||||
|  | @ -23,6 +23,14 @@ Diy_Part1_Base() { | ||||||
| 		ExtraPackages git lean helloworld https://github.com/fw876 master | 		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 | 		sed -i 's/143/143,25,5222/' package/lean/helloworld/luci-app-ssr-plus/root/etc/init.d/shadowsocksr | ||||||
| 	fi | 	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 | 	if [[ "${INCLUDE_Keep_Latest_Xray}" == "true" ]];then | ||||||
| 		Update_Makefile xray-core package/lean/helloworld/xray-core | 		Update_Makefile xray-core package/lean/helloworld/xray-core | ||||||
| 		# Update_Makefile v2ray package/lean/v2ray | 		# Update_Makefile v2ray package/lean/v2ray | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue