mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Backup Interval Changes
- The backup interval has been changed to use the value in the global settings.
This commit is contained in:
parent
7108a43a3a
commit
db6bbd3f7e
8 changed files with 60 additions and 14 deletions
|
|
@ -583,8 +583,8 @@ namespace ServerManagerTool
|
|||
SettingsUtils.BackupUserConfigSettings(Config.Default, "userconfig.json", installFolder, includeBackup ? backupFolder : null);
|
||||
SettingsUtils.BackupUserConfigSettings(CommonConfig.Default, "commonconfig.json", installFolder, includeBackup ? backupFolder : null);
|
||||
|
||||
SettingsUtils.DeleteBackupUserConfigFiles("userconfig.json", backupFolder, ServerApp.BACKUP_DELETEINTERVAL);
|
||||
SettingsUtils.DeleteBackupUserConfigFiles("commonconfig.json", backupFolder, ServerApp.BACKUP_DELETEINTERVAL);
|
||||
SettingsUtils.DeleteBackupUserConfigFiles("userconfig.json", backupFolder, Config.Default.AutoBackup_DeleteInterval);
|
||||
SettingsUtils.DeleteBackupUserConfigFiles("commonconfig.json", backupFolder, Config.Default.AutoBackup_DeleteInterval);
|
||||
}
|
||||
|
||||
private void ShutDownApplication()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue