mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Configuration Changes
- Added a check for a valid configuration file when starting the server manager. If config file is not valid, then it will delete the config file and shutdown the manager, with a message to restart the manager.
This commit is contained in:
parent
9e52ccbaa1
commit
5fff2abc91
14 changed files with 244 additions and 76 deletions
|
|
@ -30,7 +30,7 @@ namespace ServerManagerTool
|
|||
{
|
||||
var details = new StringBuilder();
|
||||
details.AppendLine("ARK Server Manager Crash Report");
|
||||
details.AppendLine("Please report this crash to the Ark Server Manager forums - https://arkservermanager.freeforums.net");
|
||||
details.AppendLine($"Please report this crash to the Server Manager discord - {Config.Default.DiscordUrl}");
|
||||
details.AppendLine();
|
||||
|
||||
details.AppendLine($"Assembly: {Assembly.GetExecutingAssembly()}");
|
||||
|
|
@ -64,7 +64,7 @@ namespace ServerManagerTool
|
|||
message.AppendLine($"Crash Dump: {crashFile}");
|
||||
details.AppendLine();
|
||||
details.AppendLine();
|
||||
message.AppendLine("Please report this crash to the Ark Server Manager forums - https://arkservermanager.freeforums.net");
|
||||
message.AppendLine($"Please report this crash to the Server Manager discord - {Config.Default.DiscordUrl}");
|
||||
message.AppendLine("The crash log will now be opened in notepad.");
|
||||
|
||||
var result = MessageBox.Show(message.ToString(), "ARK Server Manager crashed", MessageBoxButton.OK, MessageBoxImage.Exclamation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue