fix: Fixes extracting zstd and deserializing old account version (#828)
This commit is contained in:
parent
f4302928bb
commit
7361c9158b
2 changed files with 4 additions and 3 deletions
|
|
@ -93,7 +93,8 @@ namespace Server.Accounting
|
||||||
|
|
||||||
_totalGameTime = reader.ReadTimeSpan();
|
_totalGameTime = reader.ReadTimeSpan();
|
||||||
|
|
||||||
_email = reader.ReadString();
|
if (version > 1)
|
||||||
|
_email = reader.ReadString();
|
||||||
|
|
||||||
Timer.StartTimer(AfterDeserialization);
|
Timer.StartTimer(AfterDeserialization);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,8 @@ namespace Server.Compression
|
||||||
{
|
{
|
||||||
StartInfo = new ProcessStartInfo
|
StartInfo = new ProcessStartInfo
|
||||||
{
|
{
|
||||||
FileName = _pathToZstd,
|
FileName = Path.Combine(_pathToZstd, "zstd.exe"),
|
||||||
Arguments = $"-q -d \"{fileNamePath}\" -o \"${tempTarArchive}\""
|
Arguments = $"-q -d \"{fileNamePath}\" -o \"{tempTarArchive}\""
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue