From c84f575a2ee4d26ac65028463b437604570dcc74 Mon Sep 17 00:00:00 2001 From: walon Date: Thu, 16 Mar 2023 08:39:47 +0800 Subject: [PATCH] =?UTF-8?q?[change]=20=E5=AF=B92019=E4=BF=AE=E6=94=B9data.?= =?UTF-8?q?unity3d=E6=96=87=E4=BB=B6=E6=97=B6=E4=B8=8D=E5=86=8D=E5=A4=87?= =?UTF-8?q?=E4=BB=BDdata.unity32.bak?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/3rds/UnityFS/GlobalgamedatasPatcher.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Editor/3rds/UnityFS/GlobalgamedatasPatcher.cs b/Editor/3rds/UnityFS/GlobalgamedatasPatcher.cs index 115ccf9..193b1f2 100644 --- a/Editor/3rds/UnityFS/GlobalgamedatasPatcher.cs +++ b/Editor/3rds/UnityFS/GlobalgamedatasPatcher.cs @@ -42,11 +42,11 @@ namespace HybridCLR.Editor.UnityBinFileReader writer.Write(new EndianBinaryWriter(output)); Debug.Log($"patch file:{dataunity3dFile} size:{output.Length}"); - string bakFile = dataunity3dFile + ".bak"; - if (!File.Exists(bakFile)) - { - File.Copy(dataunity3dFile, bakFile); - } + //string bakFile = dataunity3dFile + ".bak"; + //if (!File.Exists(bakFile)) + //{ + // File.Copy(dataunity3dFile, bakFile); + //} File.WriteAllBytes(dataunity3dFile, output.ToArray()); } }