Update UpdateHandle.cs

pull/2447/head
2dust 2022-06-26 20:18:43 +08:00
parent e4fa729071
commit eddd38ff03
1 changed files with 4 additions and 0 deletions

View File

@ -200,6 +200,10 @@ namespace v2rayN.Handler
_updateFunc(false, $"{hashCode}{ResUI.MsgStartGettingSubscriptions}");
var result = await (new DownloadHandle()).DownloadStringAsync(url, blProxy, userAgent);
if (blProxy && Utils.IsNullOrEmpty(result))
{
result = await (new DownloadHandle()).DownloadStringAsync(url, false, userAgent);
}
_updateFunc(false, $"{hashCode}{ResUI.MsgGetSubscriptionSuccessfully}");
if (Utils.IsNullOrEmpty(result))