From 67bbb2156181e852db8726be45eadfb1879967c5 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Sun, 12 Apr 2026 16:08:08 +0800 Subject: [PATCH] Update luci-app-passwall.patch --- .github/diy/patches/luci-app-passwall.patch | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/diy/patches/luci-app-passwall.patch b/.github/diy/patches/luci-app-passwall.patch index 68d65dc6..e57001d4 100644 --- a/.github/diy/patches/luci-app-passwall.patch +++ b/.github/diy/patches/luci-app-passwall.patch @@ -237,7 +237,7 @@ --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua -@@ -547,6 +547,28 @@ function o.cfgvalue(self, section) +@@ -547,6 +547,33 @@ function o.cfgvalue(self, section) api.url("flush_set") .. "?redirect=1&reload=1", set_title) end @@ -256,12 +256,17 @@ +o.description = string.format(""..translate("Last Update Checked")..": %s
",UD) +o:depends("adblock",1) + -+o = s:taboption("DNS", DynamicList, "ad_url", translate("Anti-AD Rules Subscribe")) ++o = s:taboption("DNS", DynamicList, "ad_url", translate("Adblock Rules Subscribe")) +o:value("https://cdn.jsdelivr.net/gh/217heidai/adblockfilters@main/rules/adblockdomainlite.txt", translate("AdBlock DNS Filters")) +o:value("https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/anti-ad-domains.txt", translate("anti-AD")) +o.default = "https://cdn.jsdelivr.net/gh/217heidai/adblockfilters@main/rules/adblockdomainlite.txt" +o.description = translate("Support Domain / Dnsmasq / AdGuardHome / Hosts format list") +o:depends("adblock",1) ++ ++o = s:taboption("DNS", DynamicList, "white_list", translate("Adblock white list")) ++o.datatype = "host" ++o.rmempty = true ++o:depends("adblock",1) + s:tab("Proxy", translate("Mode"))