mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
World Save Back and Restore Changes
1. added the SaveGames folder to the to the backup zip file. 2. now restores the SaveGames folder.
This commit is contained in:
parent
aa5c135be7
commit
a5e749963a
19 changed files with 408 additions and 96 deletions
|
|
@ -220,7 +220,7 @@ namespace ServerManagerTool
|
|||
Application.Current.Dispatcher.Invoke(() => this.Cursor = System.Windows.Input.Cursors.Wait);
|
||||
await Task.Delay(500);
|
||||
|
||||
var restoredFileCount = _profile.RestoreSaveFiles(item.File, item.IsArchiveFile);
|
||||
var restoredFileCount = _profile.RestoreSaveFiles(item.File, item.IsArchiveFile, true);
|
||||
|
||||
var successMessage = _globalizer.GetResourceString("WorldSaveRestore_RestoreSuccessLabel");
|
||||
successMessage = successMessage.Replace("{fileCount}", restoredFileCount.ToString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue