1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Change minimum version to Windows 8.1 instead of Windows 8

This commit is contained in:
Dean Herbert 2022-07-12 16:16:46 +09:00
parent 10a14f39ed
commit a36f786725

View File

@ -33,7 +33,9 @@ namespace osu.Desktop
{
var windowsVersion = Environment.OSVersion.Version;
if (windowsVersion.Major < 6 || (windowsVersion.Major == 6 && windowsVersion.Minor <= 1))
// While .NET 6 still supports Windows 7 and above, we are limited by realm currently, as they choose to only support 8.1 and higher.
// See https://www.mongodb.com/docs/realm/sdk/dotnet/#supported-platforms
if (windowsVersion.Major < 6 || (windowsVersion.Major == 6 && windowsVersion.Minor <= 2))
{
SDL.SDL_ShowSimpleMessageBox(SDL.SDL_MessageBoxFlags.SDL_MESSAGEBOX_ERROR,
"Your operating system is too old to run osu!",