Skip to content

Commit

Permalink
revert messages related to win11
Browse files Browse the repository at this point in the history
  • Loading branch information
svenmauch committed Aug 14, 2022
1 parent 7b381d5 commit 9420dc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WinSlap/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand All @@ -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));
Expand Down

0 comments on commit 9420dc6

Please sign in to comment.