diff --git a/CHANGELIST.md b/CHANGELIST.md index f4c18df5..cf196118 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -6,6 +6,7 @@ - Support ancient .NET in Core - Support ancient .NET in UI Core - Support C# 12 syntax +- Support ancient .NET in Check ### 3.0.0 (2023-11-14) diff --git a/MPF.Check/MPF.Check.csproj b/MPF.Check/MPF.Check.csproj index 691e64a8..03b23ef8 100644 --- a/MPF.Check/MPF.Check.csproj +++ b/MPF.Check/MPF.Check.csproj @@ -1,15 +1,24 @@  - net6.0;net8.0 - win-x64;linux-x64;osx-x64 + + net452;net462;net472;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 + win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64 Exe + latest enable - MPF Check - Validator for various dumping programs - Matt Nadareski;ReignStumble;Jakz - Copyright (c)2019-2023 + true + true 3.0.0 + + + MPF Check + Matt Nadareski;ReignStumble;Jakz + Validator for various dumping programs + Copyright (c) Matt Nadareski 2019-2023 + https://github.com/SabreTools/ + https://github.com/SabreTools/MPF + git diff --git a/MPF.Check/Program.cs b/MPF.Check/Program.cs index c43458cd..6fb549e2 100644 --- a/MPF.Check/Program.cs +++ b/MPF.Check/Program.cs @@ -45,7 +45,11 @@ namespace MPF.Check protectionProgress.ProgressChanged += ConsoleLogger.ProgressUpdated; // Validate the supplied credentials +#if NETFRAMEWORK + (bool? _, string? message) = RedumpWebClient.ValidateCredentials(options.RedumpUsername ?? string.Empty, options.RedumpPassword ?? string.Empty); +#else (bool? _, string? message) = RedumpHttpClient.ValidateCredentials(options.RedumpUsername ?? string.Empty, options.RedumpPassword ?? string.Empty).ConfigureAwait(false).GetAwaiter().GetResult(); +#endif if (!string.IsNullOrWhiteSpace(message)) Console.WriteLine(message); @@ -65,7 +69,7 @@ namespace MPF.Check // Now populate an environment Drive? drive = null; if (!string.IsNullOrWhiteSpace(path)) - drive = Drive.Create(null, path); + drive = Drive.Create(null, path!); var env = new DumpEnvironment(options, filepath, drive, knownSystem, mediaType, internalProgram: null, parameters: null);