mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-09 14:55:25 +03:00
Update UpdateHandle.cs
This commit is contained in:
@@ -200,6 +200,10 @@ namespace v2rayN.Handler
|
|||||||
|
|
||||||
_updateFunc(false, $"{hashCode}{ResUI.MsgStartGettingSubscriptions}");
|
_updateFunc(false, $"{hashCode}{ResUI.MsgStartGettingSubscriptions}");
|
||||||
var result = await (new DownloadHandle()).DownloadStringAsync(url, blProxy, userAgent);
|
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}");
|
_updateFunc(false, $"{hashCode}{ResUI.MsgGetSubscriptionSuccessfully}");
|
||||||
if (Utils.IsNullOrEmpty(result))
|
if (Utils.IsNullOrEmpty(result))
|
||||||
|
|||||||
Reference in New Issue
Block a user