fix: fix the bug of BackupOriginalDlls didn't copy original assemblies in Build Process
parent
3488aee789
commit
dcbbcadfd3
|
@ -39,8 +39,8 @@ namespace Obfuz.Unity
|
|||
FileUtil.RecreateDir(dstDir);
|
||||
foreach (string dllName in dllNames)
|
||||
{
|
||||
string srcFile = Path.Combine(srcDir, dllName);
|
||||
string dstFile = Path.Combine(dstDir, dllName);
|
||||
string srcFile = Path.Combine(srcDir, dllName + ".dll");
|
||||
string dstFile = Path.Combine(dstDir, dllName + ".dll");
|
||||
if (File.Exists(srcFile))
|
||||
{
|
||||
File.Copy(srcFile, dstFile, true);
|
||||
|
|
Loading…
Reference in New Issue