Skip to content

Commit

Permalink
修复下载更新失败时出现的代理问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Mar 26, 2018
1 parent 50496a4 commit 4c10137
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion v2rayN/v2rayN/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,12 @@ private void menuUpdateV2Ray_Click(object sender, EventArgs e)
}
catch (Exception)
{
if(UI.ShowYesNo("下载失败!!是否用默认浏览器下载,然后自行解压安装?") == DialogResult.Yes)
if (UI.ShowYesNo("下载失败!!是否用默认浏览器下载,然后自行解压安装?") == DialogResult.Yes)
{
Global.reloadV2ray = true;
LoadV2ray();
System.Diagnostics.Process.Start(latestDownloadUrl + downloadFileName);
}
}
finally
{
Expand Down

0 comments on commit 4c10137

Please sign in to comment.