From 676a6e010cac71c2e67c0e6229e2065df53387c7 Mon Sep 17 00:00:00 2001 From: rjindael Date: Mon, 31 Jul 2023 05:04:23 -0700 Subject: [PATCH] nit: move MessageBox out of launcher core --- Kiseki.Launcher.Windows/Launcher.cs | 1 + Kiseki.Launcher/Web.cs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Kiseki.Launcher.Windows/Launcher.cs b/Kiseki.Launcher.Windows/Launcher.cs index c4b1398..4e6da79 100644 --- a/Kiseki.Launcher.Windows/Launcher.cs +++ b/Kiseki.Launcher.Windows/Launcher.cs @@ -36,6 +36,7 @@ namespace Kiseki.Launcher.Windows { // ... and if it's invalid, keep asking for a new one. File.Delete(Directories.License); + MessageBox.Show($"Corrupt license file! Please verify the contents of your license file (it should be named \"license.bin\".)", Constants.ProjectName, MessageBoxButtons.OK, MessageBoxIcon.Error); AskForLicense(Directories.License, false); } diff --git a/Kiseki.Launcher/Web.cs b/Kiseki.Launcher/Web.cs index 37e082e..f9640d7 100644 --- a/Kiseki.Launcher/Web.cs +++ b/Kiseki.Launcher/Web.cs @@ -44,7 +44,6 @@ namespace Kiseki.Launcher } catch { - MessageBox.Show($"Corrupt license file! Please verify the contents of your license file (it should be named \"license.bin\".)", Constants.ProjectName, MessageBoxButtons.OK, MessageBoxIcon.Error); return false; }