From 771a4a88a04c691643809da4fc32427806eddaf4 Mon Sep 17 00:00:00 2001 From: Miepee Date: Thu, 19 Jan 2023 15:27:31 +0100 Subject: [PATCH] small adjustments --- AM2RPortHelperCLI/Program.cs | 3 +-- AM2RPortHelperLib/{LauncherModsBase.cs => LauncherMods.cs} | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename AM2RPortHelperLib/{LauncherModsBase.cs => LauncherMods.cs} (99%) diff --git a/AM2RPortHelperCLI/Program.cs b/AM2RPortHelperCLI/Program.cs index 00d765f..4c03215 100644 --- a/AM2RPortHelperCLI/Program.cs +++ b/AM2RPortHelperCLI/Program.cs @@ -3,7 +3,6 @@ using System.CommandLine; using System.IO; using System.Threading.Tasks; using AM2RPortHelperLib; -using Microsoft.Win32.SafeHandles; namespace AM2RPortHelper; @@ -90,7 +89,7 @@ internal static class Program void LocalOutput(string output) { if (beVerbose) - Console.WriteLine(output); + OutputHandlerDelegate(output); } if (linuxPath is not null) diff --git a/AM2RPortHelperLib/LauncherModsBase.cs b/AM2RPortHelperLib/LauncherMods.cs similarity index 99% rename from AM2RPortHelperLib/LauncherModsBase.cs rename to AM2RPortHelperLib/LauncherMods.cs index 3bb4719..ad12653 100644 --- a/AM2RPortHelperLib/LauncherModsBase.cs +++ b/AM2RPortHelperLib/LauncherMods.cs @@ -2,7 +2,7 @@ namespace AM2RPortHelperLib; -public abstract class LauncherModsBase : ModsBase +public abstract class LauncherMods : ModsBase { /// /// Ports a Mod zip intended to be installed via the AM2RLauncher to other operating systems.