mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-24 11:56:55 +00:00
CheckUpdate uses the fork
This commit is contained in:
parent
423176efc2
commit
32546c9893
2 changed files with 4 additions and 3 deletions
|
@ -6,7 +6,7 @@ before_build:
|
||||||
- ps: >-
|
- ps: >-
|
||||||
cd v2rayN
|
cd v2rayN
|
||||||
|
|
||||||
nuget restore -verbosity detailed
|
nuget restore
|
||||||
|
|
||||||
build:
|
build:
|
||||||
parallel: true
|
parallel: true
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue