From eddd38ff03fd01c176843eaeee8e32ae23e49bf3 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 26 Jun 2022 20:18:43 +0800 Subject: [PATCH] Update UpdateHandle.cs --- v2rayN/v2rayN/Handler/UpdateHandle.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2rayN/v2rayN/Handler/UpdateHandle.cs b/v2rayN/v2rayN/Handler/UpdateHandle.cs index c200bbfe..01038ec4 100644 --- a/v2rayN/v2rayN/Handler/UpdateHandle.cs +++ b/v2rayN/v2rayN/Handler/UpdateHandle.cs @@ -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))