mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Auto-Start Server Changes
- added username/password settings to use for the Auto-Start server on Boot task. - updated support zip with new settings.
This commit is contained in:
parent
5532050c04
commit
efbdc77be6
17 changed files with 143 additions and 8 deletions
|
|
@ -972,6 +972,14 @@ namespace ServerManagerTool
|
|||
comment.AppendLine($"ServerShutdown_WorldSaveDelay: {Config.Default.ServerShutdown_WorldSaveDelay}");
|
||||
comment.AppendLine($"RCON_MessageCommand: {Config.Default.RCON_MessageCommand}");
|
||||
|
||||
comment.AppendLine($"AutoBackup_TaskPriority: {Config.Default.AutoBackup_TaskPriority}");
|
||||
comment.AppendLine($"AutoUpdate_TaskPriority: {Config.Default.AutoUpdate_TaskPriority}");
|
||||
comment.AppendLine($"AutoShutdown_TaskPriority: {Config.Default.AutoShutdown_TaskPriority}");
|
||||
comment.AppendLine($"AutoStart_TaskPriority: {Config.Default.AutoStart_TaskPriority}");
|
||||
|
||||
comment.AppendLine($"TaskSchedulerUsername: {Config.Default.TaskSchedulerUsername}");
|
||||
comment.AppendLine($"HasTaskSchedulerPassword: {!string.IsNullOrWhiteSpace(Config.Default.TaskSchedulerPassword)}");
|
||||
|
||||
var zipFile = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), this.Settings.ProfileID + ".zip");
|
||||
if (File.Exists(zipFile)) File.Delete(zipFile);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue