Skip to content

Commit

Permalink
Only update the stable version of the core
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Nov 1, 2024
1 parent 072f773 commit 6ec6143
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v2rayN/ServiceLib/ViewModels/CheckUpdateViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ private async Task CheckUpdate()
{
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);
}
}

Expand Down

0 comments on commit 6ec6143

Please sign in to comment.