From 7065dabc94cf1c551027d120e52694ebc55fb1c6 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 15 Jun 2025 14:35:59 +0800 Subject: [PATCH] If it is not in China area, no update is required https://github.com/2dust/v2rayN/issues/7417 --- v2rayN/ServiceLib/Services/UpdateService.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/v2rayN/ServiceLib/Services/UpdateService.cs b/v2rayN/ServiceLib/Services/UpdateService.cs index 636f3616..c4acbe80 100644 --- a/v2rayN/ServiceLib/Services/UpdateService.cs +++ b/v2rayN/ServiceLib/Services/UpdateService.cs @@ -485,6 +485,12 @@ public class UpdateService private async Task UpdateOtherFiles(Config config, Action updateFunc) { + //If it is not in China area, no update is required + if (config.ConstItem.GeoSourceUrl.IsNotEmpty()) + { + return; + } + _updateFunc = updateFunc; foreach (var url in Global.OtherGeoUrls)