From 9420dc645a20e4b35d5e09517cd23cf394e0ac70 Mon Sep 17 00:00:00 2001 From: Sven Mauch Date: Sun, 14 Aug 2022 17:15:38 +0200 Subject: [PATCH] revert messages related to win11 --- WinSlap/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WinSlap/Program.cs b/WinSlap/Program.cs index 21bc3ff..63721fd 100644 --- a/WinSlap/Program.cs +++ b/WinSlap/Program.cs @@ -21,7 +21,7 @@ static void Main(string[] args) if (vs.Major != 10) { - MessageBox.Show("WinSlap only supports Windows 10 and Windows 11.", "Unsupported OS", MessageBoxButtons.OK, MessageBoxIcon.Stop); + MessageBox.Show("WinSlap only supports Windows 10.", "Unsupported OS", MessageBoxButtons.OK, MessageBoxIcon.Stop); Application.Exit(); } @@ -38,9 +38,9 @@ static void Main(string[] args) Globals.winmajor = "10"; } - if (Globals.winbuild != 19044 || Globals.winbuild > 22000) + if (Globals.winbuild != 19044) { - MessageBox.Show($"WinSlap 1.7 is developed for Windows 10 (21H2) and Windows 11 (21H2).\nThis PC is running Windows {Globals.winmajor} ({Globals.winrelease}).\nPlease proceed with caution.", "Untested OS", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show($"WinSlap 1.7 is developed for Windows 10 (21H2).\nThis PC is running Windows {Globals.winmajor} ({Globals.winrelease}).\nPlease proceed with caution.", "Untested OS", MessageBoxButtons.OK, MessageBoxIcon.Information); } Application.Run(new MainForm(args));