mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-02 04:52:09 +00:00
If it is not in China area, no update is required
https://github.com/2dust/v2rayN/issues/7417
This commit is contained in:
parent
9e2336a71e
commit
7065dabc94
1 changed files with 6 additions and 0 deletions
|
@ -485,6 +485,12 @@ public class UpdateService
|
||||||
|
|
||||||
private async Task UpdateOtherFiles(Config config, Action<bool, string> updateFunc)
|
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;
|
_updateFunc = updateFunc;
|
||||||
|
|
||||||
foreach (var url in Global.OtherGeoUrls)
|
foreach (var url in Global.OtherGeoUrls)
|
||||||
|
|
Loading…
Reference in a new issue