CheckUpdate uses the fork

This commit is contained in:
JaredDC 2021-07-03 13:47:54 +08:00
parent 423176efc2
commit 32546c9893
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@ before_build:
- ps: >- - ps: >-
cd v2rayN cd v2rayN
nuget restore -verbosity detailed nuget restore
build: build:
parallel: true parallel: true

View file

@ -1188,7 +1188,8 @@ namespace v2rayN.Forms
private void tsbCheckUpdateN_Click(object sender, EventArgs e) private void tsbCheckUpdateN_Click(object sender, EventArgs e)
{ {
void _updateUI(bool success, string msg) Process.Start("https://github.com/JaredDC/v2rayN/releases/latest");
/*void _updateUI(bool success, string msg)
{ {
AppendText(false, msg); AppendText(false, msg);
if (success) if (success)
@ -1196,7 +1197,7 @@ namespace v2rayN.Forms
menuExit_Click(null, null); menuExit_Click(null, null);
} }
}; };
(new UpdateHandle()).CheckUpdateGuiN(config, _updateUI); (new UpdateHandle()).CheckUpdateGuiN(config, _updateUI);*/
} }
private void tsbCheckUpdateCore_Click(object sender, EventArgs e) private void tsbCheckUpdateCore_Click(object sender, EventArgs e)