mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-31 23:35:13 +08:00
update 2026-07-04 01:19:19
This commit is contained in:
1 parent
6cf2cf3c2a
commit
d56eb4c86d
2 files changed
+2
-4
No files matched your search
@@ -584,6 +584,7 @@ if (!isEmpty(main_node)) {
|
|||||||
user: cfg.user,
|
user: cfg.user,
|
||||||
rule_set: get_ruleset(cfg.rule_set),
|
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_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),
|
invert: strToBool(cfg.invert),
|
||||||
outbound: get_outbound(cfg.outbound),
|
outbound: get_outbound(cfg.outbound),
|
||||||
action: cfg.action,
|
action: cfg.action,
|
||||||
@@ -976,7 +977,6 @@ if (!isEmpty(main_node)) {
|
|||||||
user: cfg.user,
|
user: cfg.user,
|
||||||
rule_set: get_ruleset(cfg.rule_set),
|
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_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),
|
invert: strToBool(cfg.invert),
|
||||||
action: cfg.action,
|
action: cfg.action,
|
||||||
outbound: get_outbound(cfg.outbound),
|
outbound: get_outbound(cfg.outbound),
|
||||||
|
|||||||
@@ -178,9 +178,7 @@ local function update(url, file, type, file2)
|
|||||||
apple = io.open("/tmp/ssr-update.tmp", "w")
|
apple = io.open("/tmp/ssr-update.tmp", "w")
|
||||||
apple:write(decode)
|
apple:write(decode)
|
||||||
apple:close()
|
apple:close()
|
||||||
if new_appledns and new_appledns ~= "" then
|
generate_apple(type)
|
||||||
generate_apple(type)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
if type == "ad_data" then
|
if type == "ad_data" then
|
||||||
local adblock = io.open("/tmp/ssr-update." .. type, "r")
|
local adblock = io.open("/tmp/ssr-update." .. type, "r")
|
||||||
|
|||||||
Reference in new issue
Block a user