Skip to content

Commit

Permalink
Update supported Windows release name
Browse files Browse the repository at this point in the history
  • Loading branch information
Fs00 committed Nov 25, 2019
1 parent f30867c commit 9009002
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Win10BloatRemover
static class Program
{
public const string SUPPORTED_WINDOWS_RELEASE_ID = "1909";
private const string SUPPORTED_WINDOWS_RELEASE_NAME = "November 2019 Update";

private static void Main()
{
Expand Down Expand Up @@ -37,7 +38,7 @@ private static void EnsurePreliminaryChecksAreSuccessful()
#if !DEBUG
if (!SystemUtils.IsWindowsReleaseId(SUPPORTED_WINDOWS_RELEASE_ID))
{
ConsoleUtils.WriteLine("This application is compatible only with Windows 10 May 2019 Update!", ConsoleColor.Red);
ConsoleUtils.WriteLine($"This application is compatible only with Windows 10 {SUPPORTED_WINDOWS_RELEASE_NAME}!", ConsoleColor.Red);
Console.ReadKey();
Environment.Exit(-1);
}
Expand Down

0 comments on commit 9009002

Please sign in to comment.