diff --git a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs index 1f74626d7e..eac4af91b5 100644 --- a/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs +++ b/src/Snap.Hutao/Snap.Hutao/ViewModel/Game/GamePackageViewModel.cs @@ -80,7 +80,7 @@ public Version? PreVersion public string PreDownloadTitle { get => SH.FormatViewModelGamePackagePreVersion(PreVersion); } - public bool IsUpdateAvailable { get => LocalVersion != RemoteVersion; } + public bool IsUpdateAvailable { get => LocalVersion < RemoteVersion; } public bool IsPredownloadButtonEnabled { @@ -91,6 +91,11 @@ public bool IsPredownloadButtonEnabled return false; } + if (LocalVersion >= PreVersion) + { + return false; + } + if (!launchOptions.TryGetGameFileSystem(out _)) { return false;