From e70cc203c175708914a9726b88fdb23078f7aca8 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Tue, 15 Sep 2026 13:40:28 +0800 Subject: [PATCH] Create homeproxy.patch --- .github/diy/patches/homeproxy.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/diy/patches/homeproxy.patch diff --git a/.github/diy/patches/homeproxy.patch b/.github/diy/patches/homeproxy.patch new file mode 100644 index 000000000..6ee8ddb0c --- /dev/null +++ b/.github/diy/patches/homeproxy.patch @@ -0,0 +1,29 @@ +--- a/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc ++++ b/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc +@@ -1223,7 +1223,7 @@ if (!isEmpty(main_node)) { + tag: 'geoip-cn', + format: 'binary', + url: 'https://fastly.jsdelivr.net/gh/1715173329/IPCIDR-CHINA@rule-set/cn.srs', +- path: ruleset_default_path('geoip-cn', 'binary'), ++ initial_path: ruleset_default_path('geoip-cn', 'binary'), + download_detour: 'main-out' + }); + push(config.route.rule_set, { +@@ -1231,7 +1231,7 @@ if (!isEmpty(main_node)) { + tag: 'geosite-cn', + format: 'binary', + url: 'https://fastly.jsdelivr.net/gh/1715173329/sing-geosite@rule-set-unstable/geosite-geolocation-cn.srs', +- path: ruleset_default_path('geosite-cn', 'binary'), ++ initial_path: ruleset_default_path('geosite-cn', 'binary'), + download_detour: 'main-out' + }); + push(config.route.rule_set, { +@@ -1239,7 +1239,7 @@ if (!isEmpty(main_node)) { + tag: 'geosite-noncn', + format: 'binary', + url: 'https://fastly.jsdelivr.net/gh/1715173329/sing-geosite@rule-set-unstable/geosite-geolocation-!cn.srs', +- path: ruleset_default_path('geosite-noncn', 'binary'), ++ initial_path: ruleset_default_path('geosite-noncn', 'binary'), + download_detour: 'main-out' + }); + }