From 3da45b565fa58b7ae40bd1ce7c59d799f12fe815 Mon Sep 17 00:00:00 2001 From: WMJ Date: Thu, 22 Jan 2026 16:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=8D=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E6=96=87=E4=BB=B6=E5=86=85=E5=AE=B9=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/Common/FileHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }