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()); } }