Skip to content

Commit 0a131eb

Browse files
committed
Fixed updater text to remove "or higher" requirement on .NET version
Closes #1170
1 parent 7d3c955 commit 0a131eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

OpenBullet2.Native.Updater/Helpers/RequirementsChecker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ public static async Task EnsureDotNetInstalledAsync()
5858
}
5959

6060
var installRuntime = AnsiConsole.Prompt(
61-
new ConfirmationPrompt($"The .NET Windows Desktop Runtime version {_dotnetVersion} or higher is required to run OpenBullet 2. " +
61+
new ConfirmationPrompt($"The .NET Windows Desktop Runtime version {_dotnetVersion} is required to run OpenBullet 2. " +
6262
"Do you want to download and install it now?"));
6363

6464
if (!installRuntime)
6565
{
66-
Utils.ExitWithError($"The .NET Windows Desktop Runtime version {_dotnetVersion} or higher is required to run OpenBullet 2. " +
66+
Utils.ExitWithError($"The .NET Windows Desktop Runtime version {_dotnetVersion} is required to run OpenBullet 2. " +
6767
$"Please install it from https://dotnet.microsoft.com/en-us/download/dotnet/{_dotnetVersion} " +
6868
"and relaunch the Updater");
6969
}

OpenBullet2.Web.Updater/Helpers/RequirementsChecker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ public static async Task EnsureDotNetInstalledAsync()
5959

6060
var installRuntime = RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
6161
&& AnsiConsole.Prompt(
62-
new ConfirmationPrompt($"The .NET Runtime and ASP.NET Core Runtime version {_dotnetVersion} or higher are required to run OpenBullet 2. " +
62+
new ConfirmationPrompt($"The .NET Runtime and ASP.NET Core Runtime version {_dotnetVersion} are required to run OpenBullet 2. " +
6363
"Do you want to download and install them now?"));
6464

6565
if (!installRuntime)
6666
{
67-
Utils.ExitWithError($"The .NET Runtime and ASP.NET Core Runtime version {_dotnetVersion} or higher are required to run OpenBullet 2. " +
67+
Utils.ExitWithError($"The .NET Runtime and ASP.NET Core Runtime version {_dotnetVersion} are required to run OpenBullet 2. " +
6868
$"Please install them from https://dotnet.microsoft.com/en-us/download/dotnet/{_dotnetVersion} " +
6969
"and relaunch the Updater");
7070
}

0 commit comments

Comments
 (0)