Only update the stable version of the core

https://github.com/2dust/v2rayN/issues/5950
pull/5967/head
2dust 3 weeks ago
parent 072f773245
commit 6ec61433fb

@ -99,13 +99,13 @@ namespace ServiceLib.ViewModels
{ {
await CheckUpdateN(EnableCheckPreReleaseUpdate); 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 else
{ {
await CheckUpdateCore(item, EnableCheckPreReleaseUpdate); await CheckUpdateCore(item, false);
} }
} }

Loading…
Cancel
Save