diff --git a/App/Common/FileHelper.cs b/App/Common/FileHelper.cs index 26129b4..90b0ee6 100644 --- a/App/Common/FileHelper.cs +++ b/App/Common/FileHelper.cs @@ -227,7 +227,7 @@ namespace PDFPatcher.Common return source.DumpBytes(path, 0, source?.Length ?? 0); } public static byte[] DumpBytes(this byte[] source, FilePath path, int offset, int count) { - using (var f = new FileStream(path.ToFullPath(), FileMode.OpenOrCreate, FileAccess.Write)) { + using (var f = new FileStream(path.ToFullPath(), FileMode.Create, FileAccess.Write)) { if (source == null) { return null; }