|
|
@ -577,7 +577,7 @@ namespace v2rayN.Forms
|
|
|
|
|
|
|
|
|
|
|
|
private void menuRemoveDuplicateServer_Click(object sender, EventArgs e)
|
|
|
|
private void menuRemoveDuplicateServer_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Utils.DedupServerList(config.vmess, out List<VmessItem> servers, config.keepOlderDedupl);
|
|
|
|
Utils.DedupServerList(config.vmess, out List<VmessItem> servers, config.keepOlderDedupl);
|
|
|
|
int oldCount = config.vmess.Count;
|
|
|
|
int oldCount = config.vmess.Count;
|
|
|
|
int newCount = servers.Count;
|
|
|
|
int newCount = servers.Count;
|
|
|
|
if (servers != null)
|
|
|
|
if (servers != null)
|
|
|
@ -1226,7 +1226,7 @@ namespace v2rayN.Forms
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
string fileName = Utils.GetPath(downloadHandle.DownloadFileName);
|
|
|
|
string fileName = Utils.GetPath(downloadHandle.DownloadFileName);
|
|
|
|
Process process = Process.Start("v2rayUpgrade.exe", fileName);
|
|
|
|
Process process = Process.Start("v2rayUpgrade.exe", "\"" + fileName + "\"");
|
|
|
|
if (process.Id > 0)
|
|
|
|
if (process.Id > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
menuExit_Click(null, null);
|
|
|
|
menuExit_Click(null, null);
|
|
|
|