Update UpdateHandle.cs

This commit is contained in:
2dust 2022-06-26 20:18:43 +08:00
parent e4fa729071
commit eddd38ff03

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))