Skip to content

Commit

Permalink
[FlashpointManager] Fix components.xml backup breaking if new backup …
Browse files Browse the repository at this point in the history
…is smaller
  • Loading branch information
WumboSpasm committed Jul 17, 2023
1 parent 9968db4 commit 420af75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FlashpointManager/src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ static void Main(string[] args)
{
using (var fileStream = new FileStream(backupPath, FileMode.OpenOrCreate, FileAccess.Write))
{
fileStream.SetLength(0);
listStream.Position = 0;
listStream.CopyTo(fileStream);
}
Expand Down

0 comments on commit 420af75

Please sign in to comment.