From eb3372cf6aedd36855a906bfd1a4cab67c7d9246 Mon Sep 17 00:00:00 2001 From: MkQtS <81752398+MkQtS@users.noreply.github.com> Date: Tue, 11 Nov 2025 13:43:19 +0800 Subject: [PATCH] Add google to default geofiles --- package-rhel.sh | 2 +- v2rayN/ServiceLib/Services/UpdateService.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package-rhel.sh b/package-rhel.sh index b93ea82c..5ef75ab5 100644 --- a/package-rhel.sh +++ b/package-rhel.sh @@ -458,7 +458,7 @@ download_geo_assets() { "https://raw.githubusercontent.com/2dust/sing-box-rules/rule-set-geoip/$f" || true done for f in \ - geosite-cn.srs geosite-gfw.srs geosite-greatfire.srs \ + geosite-cn.srs geosite-gfw.srs geosite-google.srs geosite-greatfire.srs \ geosite-geolocation-cn.srs geosite-category-ads-all.srs geosite-private.srs; do curl -fsSL -o "$srss_dir/$f" \ "https://raw.githubusercontent.com/2dust/sing-box-rules/rule-set-geosite/$f" || true diff --git a/v2rayN/ServiceLib/Services/UpdateService.cs b/v2rayN/ServiceLib/Services/UpdateService.cs index fc636c60..d71719a0 100644 --- a/v2rayN/ServiceLib/Services/UpdateService.cs +++ b/v2rayN/ServiceLib/Services/UpdateService.cs @@ -396,6 +396,7 @@ public class UpdateService(Config config, Func updateFunc) } //append dns items TODO + geoSiteFiles.Add("google"); geoSiteFiles.Add("cn"); geoSiteFiles.Add("geolocation-cn"); geoSiteFiles.Add("category-ads-all");