This commit is contained in:
YFdyh000 2020-03-16 09:22:30 +08:00
parent 1a807c056c
commit 6293ddacc6

View file

@ -57,7 +57,7 @@ namespace v2rayN.Handler
private readonly string coreLatestUrl = "https://github.com/v2ray/v2ray-core/releases/latest"; private readonly string coreLatestUrl = "https://github.com/v2ray/v2ray-core/releases/latest";
private const string coreUrl = "https://github.com/v2ray/v2ray-core/releases/download/{0}/v2ray-windows-{1}.zip"; private const string coreUrl = "https://github.com/v2ray/v2ray-core/releases/download/{0}/v2ray-windows-{1}.zip";
public async Task CheckUpdateAsync(string type) public async void CheckUpdateAsync(string type)
{ {
Utils.SetSecurityProtocol(); Utils.SetSecurityProtocol();
WebRequestHandler webRequestHandler = new WebRequestHandler WebRequestHandler webRequestHandler = new WebRequestHandler