Update CheckUpdateViewModel.cs

This commit is contained in:
JieXu 2025-09-12 00:05:26 +08:00 committed by GitHub
parent 8e1d4e059f
commit bef2595e74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,6 +50,7 @@ public class CheckUpdateViewModel : MyReactiveObject
if (RuntimeInformation.ProcessArchitecture != Architecture.X86)
{
CheckUpdateModels.Add(GetCheckUpdateModel(_v2rayN));
//Not Windows and under Win10
if (!(Utils.IsWindows() && Environment.OSVersion.Version.Major < 10))
{
CheckUpdateModels.Add(GetCheckUpdateModel(ECoreType.Xray.ToString()));