diff --git a/v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs b/v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs index 741bde64..a467f746 100644 --- a/v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs +++ b/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); } }