From 07479e6dd6d3dd3993788641bf4cd6824c00e9d0 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Thu, 9 Dec 2021 20:52:18 +1000 Subject: [PATCH] added additional fields to support zip file. --- .../UserControls/ServerSettingsControl.xaml.cs | 13 +++++++++++++ .../UserControls/ServerSettingsControl.xaml.cs | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/src/ARKServerManager/UserControls/ServerSettingsControl.xaml.cs b/src/ARKServerManager/UserControls/ServerSettingsControl.xaml.cs index 81f1f811..ffb9897e 100644 --- a/src/ARKServerManager/UserControls/ServerSettingsControl.xaml.cs +++ b/src/ARKServerManager/UserControls/ServerSettingsControl.xaml.cs @@ -919,6 +919,8 @@ namespace ServerManagerTool comment.AppendLine($"IsAdministrator: {SecurityUtils.IsAdministrator()}"); comment.AppendLine($"RunAsAdministratorPrompt: {Config.Default.RunAsAdministratorPrompt}"); + comment.AppendLine($"MainWindow_WindowState: {Config.Default.MainWindow_WindowState}"); + comment.AppendLine($"MainWindow_MinimizeToTray: {Config.Default.MainWindow_MinimizeToTray}"); comment.AppendLine($"ManageFirewallAutomatically: {Config.Default.ManageFirewallAutomatically}"); comment.AppendLine($"ValidateProfileOnServerStart: {Config.Default.ValidateProfileOnServerStart}"); comment.AppendLine($"SteamCMD File: {SteamCmdUpdater.GetSteamCmdFile(Config.Default.DataDir)}"); @@ -963,6 +965,17 @@ namespace ServerManagerTool comment.AppendLine($"ServerUpdate_ForceUpdateModsIfNoSteamInfo: {Config.Default.ServerUpdate_ForceUpdateModsIfNoSteamInfo}"); comment.AppendLine($"ServerUpdate_OnServerStart: {Config.Default.ServerUpdate_OnServerStart}"); + comment.AppendLine($"DiscordBotEnabled: {Config.Default.DiscordBotEnabled}"); + comment.AppendLine($"HasDiscordBotToken: {string.IsNullOrWhiteSpace(Config.Default.DiscordBotToken)}"); + comment.AppendLine($"DiscordBotServerId: {Config.Default.DiscordBotServerId}"); + comment.AppendLine($"DiscordBotPrefix: {Config.Default.DiscordBotPrefix}"); + comment.AppendLine($"AllowDiscordBackup: {Config.Default.AllowDiscordBackup}"); + comment.AppendLine($"AllowDiscordRestart: {Config.Default.AllowDiscordRestart}"); + comment.AppendLine($"AllowDiscordShutdown: {Config.Default.AllowDiscordShutdown}"); + comment.AppendLine($"AllowDiscordStart: {Config.Default.AllowDiscordStart}"); + comment.AppendLine($"AllowDiscordStop: {Config.Default.AllowDiscordStop}"); + comment.AppendLine($"AllowDiscordUpdate: {Config.Default.AllowDiscordUpdate}"); + comment.AppendLine($"EmailNotify_AutoRestart: {Config.Default.EmailNotify_AutoRestart}"); comment.AppendLine($"EmailNotify_AutoBackup: {Config.Default.EmailNotify_AutoBackup}"); comment.AppendLine($"EmailNotify_AutoUpdate: {Config.Default.EmailNotify_AutoUpdate}"); diff --git a/src/ConanServerManager/UserControls/ServerSettingsControl.xaml.cs b/src/ConanServerManager/UserControls/ServerSettingsControl.xaml.cs index 99e2ed60..0ca8ddce 100644 --- a/src/ConanServerManager/UserControls/ServerSettingsControl.xaml.cs +++ b/src/ConanServerManager/UserControls/ServerSettingsControl.xaml.cs @@ -657,6 +657,8 @@ namespace ServerManagerTool comment.AppendLine($"IsAdministrator: {SecurityUtils.IsAdministrator()}"); comment.AppendLine($"RunAsAdministratorPrompt: {Config.Default.RunAsAdministratorPrompt}"); + comment.AppendLine($"MainWindow_WindowState: {Config.Default.MainWindow_WindowState}"); + comment.AppendLine($"MainWindow_MinimizeToTray: {Config.Default.MainWindow_MinimizeToTray}"); comment.AppendLine($"ManageFirewallAutomatically: {Config.Default.ManageFirewallAutomatically}"); comment.AppendLine($"ValidateProfileOnServerStart: {Config.Default.ValidateProfileOnServerStart}"); comment.AppendLine($"SteamCMD File: {SteamCmdUpdater.GetSteamCmdFile(Config.Default.DataPath)}"); @@ -693,6 +695,17 @@ namespace ServerManagerTool comment.AppendLine($"ServerUpdate_ForceUpdateModsIfNoSteamInfo: {Config.Default.ServerUpdate_ForceUpdateModsIfNoSteamInfo}"); comment.AppendLine($"ServerUpdate_OnServerStart: {Config.Default.ServerUpdate_OnServerStart}"); + comment.AppendLine($"DiscordBotEnabled: {Config.Default.DiscordBotEnabled}"); + comment.AppendLine($"HasDiscordBotToken: {string.IsNullOrWhiteSpace(Config.Default.DiscordBotToken)}"); + comment.AppendLine($"DiscordBotServerId: {Config.Default.DiscordBotServerId}"); + comment.AppendLine($"DiscordBotPrefix: {Config.Default.DiscordBotPrefix}"); + comment.AppendLine($"AllowDiscordBackup: {Config.Default.AllowDiscordBackup}"); + comment.AppendLine($"AllowDiscordRestart: {Config.Default.AllowDiscordRestart}"); + comment.AppendLine($"AllowDiscordShutdown: {Config.Default.AllowDiscordShutdown}"); + comment.AppendLine($"AllowDiscordStart: {Config.Default.AllowDiscordStart}"); + comment.AppendLine($"AllowDiscordStop: {Config.Default.AllowDiscordStop}"); + comment.AppendLine($"AllowDiscordUpdate: {Config.Default.AllowDiscordUpdate}"); + comment.AppendLine($"EmailNotify_AutoRestart: {Config.Default.EmailNotify_AutoRestart}"); comment.AppendLine($"EmailNotify_AutoBackup: {Config.Default.EmailNotify_AutoBackup}"); comment.AppendLine($"EmailNotify_AutoUpdate: {Config.Default.EmailNotify_AutoUpdate}");