update 2026-07-04 01:19:19

This commit is contained in:
action 2026-07-04 01:19:19 +08:00
parent 6cf2cf3c2a
commit d56eb4c86d
2 changed files with 2 additions and 4 deletions

View File

@ -584,6 +584,7 @@ if (!isEmpty(main_node)) {
user: cfg.user,
rule_set: get_ruleset(cfg.rule_set),
rule_set_ip_cidr_match_source: strToBool(cfg.rule_set_ip_cidr_match_source),
rule_set_ip_cidr_accept_empty: strToBool(cfg.rule_set_ip_cidr_accept_empty),
invert: strToBool(cfg.invert),
outbound: get_outbound(cfg.outbound),
action: cfg.action,
@ -976,7 +977,6 @@ if (!isEmpty(main_node)) {
user: cfg.user,
rule_set: get_ruleset(cfg.rule_set),
rule_set_ip_cidr_match_source: strToBool(cfg.rule_set_ip_cidr_match_source),
rule_set_ip_cidr_accept_empty: strToBool(cfg.rule_set_ip_cidr_accept_empty),
invert: strToBool(cfg.invert),
action: cfg.action,
outbound: get_outbound(cfg.outbound),

View File

@ -178,9 +178,7 @@ local function update(url, file, type, file2)
apple = io.open("/tmp/ssr-update.tmp", "w")
apple:write(decode)
apple:close()
if new_appledns and new_appledns ~= "" then
generate_apple(type)
end
generate_apple(type)
end
if type == "ad_data" then
local adblock = io.open("/tmp/ssr-update." .. type, "r")