mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-03-15 04:14:47 +00:00
Early exit when outdated Windows detected
This commit is contained in:
parent
5d9e4ad7a4
commit
18238736be
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ namespace Ryujinx.Ava
|
|||
if (OperatingSystem.IsWindows() && !OperatingSystem.IsWindowsVersionAtLeast(10, 0, 19041))
|
||||
{
|
||||
_ = MessageBoxA(nint.Zero, "You are running an outdated version of Windows.\n\nRyujinx supports Windows 10 version 20H1 and newer.\n", $"Ryujinx {Version}", MbIconwarning);
|
||||
return 0;
|
||||
}
|
||||
|
||||
PreviewerDetached = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue