diff --git a/Kiseki.Launcher.Windows/Launcher.cs b/Kiseki.Launcher.Windows/Bootstrapper.cs similarity index 98% rename from Kiseki.Launcher.Windows/Launcher.cs rename to Kiseki.Launcher.Windows/Bootstrapper.cs index 994275d..ad90db3 100644 --- a/Kiseki.Launcher.Windows/Launcher.cs +++ b/Kiseki.Launcher.Windows/Bootstrapper.cs @@ -5,11 +5,11 @@ using Microsoft.Win32; namespace Kiseki.Launcher.Windows { - public class Launcher : ILauncher + public class Bootstrapper : IBootstrapper { public readonly static string Version = Assembly.GetExecutingAssembly().GetName().Version!.ToString()[..^2]; - #region ILauncher implementation + #region IBootstrapper implementation public static void Install() { diff --git a/Kiseki.Launcher.Windows/Program.cs b/Kiseki.Launcher.Windows/Program.cs index d812d35..969ac14 100644 --- a/Kiseki.Launcher.Windows/Program.cs +++ b/Kiseki.Launcher.Windows/Program.cs @@ -24,7 +24,7 @@ namespace Kiseki.Launcher.Windows if (!isConnected && Web.IsInMaintenance) { // Try again with the maintenance domain - Launcher.TryLoadLicense(); + Bootstrapper.TryLoadLicense(); isConnected = Web.Initialize(); } @@ -37,7 +37,7 @@ namespace Kiseki.Launcher.Windows if (!File.Exists(Directories.Application)) { // The launcher is not installed, so let's run the install process - this will also exit the application - Launcher.Install(); + Bootstrapper.Install(); } else { @@ -50,7 +50,7 @@ namespace Kiseki.Launcher.Windows if (args[0] == "-uninstall") { - Launcher.Uninstall(args[0] == "-quiet"); + Bootstrapper.Uninstall(args[0] == "-quiet"); return; } diff --git a/Kiseki.Launcher/Interfaces/ILauncher.cs b/Kiseki.Launcher/Interfaces/IBootstrapper.cs similarity index 86% rename from Kiseki.Launcher/Interfaces/ILauncher.cs rename to Kiseki.Launcher/Interfaces/IBootstrapper.cs index 619a85c..4e2e602 100644 --- a/Kiseki.Launcher/Interfaces/ILauncher.cs +++ b/Kiseki.Launcher/Interfaces/IBootstrapper.cs @@ -1,6 +1,6 @@ namespace Kiseki.Launcher { - public interface ILauncher + public interface IBootstrapper { static abstract void Install(); static abstract void Uninstall(bool quiet = false);