mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Backup Bugfixes
- fixed the zip utils to read the file contents before backup. - added new content backup metho for support zip creation.
This commit is contained in:
parent
5374f8c7da
commit
1fc9bc87e4
13 changed files with 143 additions and 80 deletions
|
|
@ -721,7 +721,7 @@ namespace ServerManagerTool
|
|||
ZipUtils.ZipFiles(zipFile, files, comment.ToString());
|
||||
foreach (var kvp in obfuscateFiles)
|
||||
{
|
||||
ZipUtils.ZipAFile(zipFile, kvp.Key, kvp.Value);
|
||||
ZipUtils.ZipContent(zipFile, kvp.Key, kvp.Value);
|
||||
}
|
||||
|
||||
var message = _globalizer.GetResourceString("ServerSettings_SupportZipSuccessLabel").Replace("{filename}", Path.GetFileName(zipFile));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue