nit: move MessageBox out of launcher core

This commit is contained in:
rjindael 2023-07-31 05:04:23 -07:00
parent 3d00a4b0ba
commit 676a6e010c
No known key found for this signature in database
GPG Key ID: D069369C906CCF31
2 changed files with 1 additions and 1 deletions

View File

@ -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);
}

View File

@ -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;
}