If it is not in China area, no update is required

https://github.com/2dust/v2rayN/issues/7417
This commit is contained in:
2dust 2025-06-15 14:35:59 +08:00
parent 9e2336a71e
commit 7065dabc94

View file

@ -485,6 +485,12 @@ public class UpdateService
private async Task UpdateOtherFiles(Config config, Action<bool, string> 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)