mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[FileTools] Wrap more for ease
This commit is contained in:
@@ -540,11 +540,10 @@ namespace SabreTools.Helper
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Stream tempstream = new MemoryStream();
|
|
||||||
reader.WriteEntryTo(tempstream);
|
|
||||||
|
|
||||||
if (!archive.Entries.Contains(reader.Entry))
|
if (!archive.Entries.Contains(reader.Entry))
|
||||||
{
|
{
|
||||||
|
Stream tempstream = new MemoryStream();
|
||||||
|
reader.WriteEntryTo(tempstream);
|
||||||
archive.AddEntry(destEntryName, tempstream);
|
archive.AddEntry(destEntryName, tempstream);
|
||||||
archive.SaveTo(outputArchive + ".tmp", CompressionType.Deflate);
|
archive.SaveTo(outputArchive + ".tmp", CompressionType.Deflate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user