mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-10 22:45:00 +03:00
If it is not in China area, no update is required
https://github.com/2dust/v2rayN/issues/7417
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user