nit: move MessageBox out of launcher core
This commit is contained in:
parent
3d00a4b0ba
commit
676a6e010c
|
|
@ -36,6 +36,7 @@ namespace Kiseki.Launcher.Windows
|
||||||
{
|
{
|
||||||
// ... and if it's invalid, keep asking for a new one.
|
// ... and if it's invalid, keep asking for a new one.
|
||||||
File.Delete(Directories.License);
|
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);
|
AskForLicense(Directories.License, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,6 @@ namespace Kiseki.Launcher
|
||||||
}
|
}
|
||||||
catch
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue