Browse Source

Only update the stable version of the core

https://github.com/2dust/v2rayN/issues/5950
pull/5967/head
2dust 3 weeks ago
parent
commit
6ec61433fb
  1. 6
      v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs

6
v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs

@ -99,13 +99,13 @@ namespace ServiceLib.ViewModels
{
await CheckUpdateN(EnableCheckPreReleaseUpdate);
}
else if (item.CoreType == ECoreType.mihomo.ToString())
else if (item.CoreType == ECoreType.Xray.ToString())
{
await CheckUpdateCore(item, false);
await CheckUpdateCore(item, EnableCheckPreReleaseUpdate);
}
else
{
await CheckUpdateCore(item, EnableCheckPreReleaseUpdate);
await CheckUpdateCore(item, false);
}
}

Loading…
Cancel
Save