mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Automatic Management Fix
- fixed on Login selection of the Auto-Start option - added the AutoStartOnLogin option to the sync
This commit is contained in:
parent
0957d51e96
commit
10e6a08a3e
9 changed files with 103 additions and 136 deletions
|
|
@ -6040,19 +6040,23 @@ namespace ServerManagerTool.Lib
|
|||
|
||||
private void SyncAutomaticManagement(ServerProfile sourceProfile)
|
||||
{
|
||||
this.SetValue(EnableAutoBackupProperty, sourceProfile.EnableAutoBackup);
|
||||
this.SetValue(EnableAutoStartProperty, sourceProfile.EnableAutoStart);
|
||||
this.SetValue(EnableAutoUpdateProperty, sourceProfile.EnableAutoUpdate);
|
||||
this.SetValue(AutoStartOnLoginProperty, sourceProfile.AutoStartOnLogin);
|
||||
|
||||
this.SetValue(EnableAutoShutdown1Property, sourceProfile.EnableAutoShutdown1);
|
||||
this.SetValue(AutoShutdownTime1Property, sourceProfile.AutoShutdownTime1);
|
||||
this.SetValue(ShutdownDaysOfTheWeek1Property, sourceProfile.ShutdownDaysOfTheWeek1);
|
||||
this.SetValue(RestartAfterShutdown1Property, sourceProfile.RestartAfterShutdown1);
|
||||
this.SetValue(UpdateAfterShutdown1Property, sourceProfile.UpdateAfterShutdown1);
|
||||
|
||||
this.SetValue(EnableAutoShutdown2Property, sourceProfile.EnableAutoShutdown2);
|
||||
this.SetValue(AutoShutdownTime2Property, sourceProfile.AutoShutdownTime2);
|
||||
this.SetValue(ShutdownDaysOfTheWeek2Property, sourceProfile.ShutdownDaysOfTheWeek2);
|
||||
this.SetValue(RestartAfterShutdown2Property, sourceProfile.RestartAfterShutdown2);
|
||||
this.SetValue(UpdateAfterShutdown2Property, sourceProfile.UpdateAfterShutdown2);
|
||||
|
||||
this.SetValue(EnableAutoBackupProperty, sourceProfile.EnableAutoBackup);
|
||||
this.SetValue(EnableAutoUpdateProperty, sourceProfile.EnableAutoUpdate);
|
||||
this.SetValue(AutoRestartIfShutdownProperty, sourceProfile.AutoRestartIfShutdown);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue