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);
|
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);
|
||||||
|
|
Loading…
Reference in New Issue