fix: fix the bug of BackupOriginalDlls didn't copy original assemblies in Build Process

before-split
walon 2025-05-19 10:40:33 +08:00
parent 3488aee789
commit dcbbcadfd3
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ namespace Obfuz.Unity
FileUtil.RecreateDir(dstDir); FileUtil.RecreateDir(dstDir);
foreach (string dllName in dllNames) foreach (string dllName in dllNames)
{ {
string srcFile = Path.Combine(srcDir, dllName); string srcFile = Path.Combine(srcDir, dllName + ".dll");
string dstFile = Path.Combine(dstDir, dllName); string dstFile = Path.Combine(dstDir, dllName + ".dll");
if (File.Exists(srcFile)) if (File.Exists(srcFile))
{ {
File.Copy(srcFile, dstFile, true); File.Copy(srcFile, dstFile, true);