Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Crashing if we use Packer option #502

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Confuser.Core/Packer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected void ProtectStub(ConfuserContext context, string fileName, byte[] modu
throw new ConfuserException(ex);
}

context.OutputModules = new[] { File.ReadAllBytes(Path.Combine(outDir, fileName)) };
context.OutputModules = new[] { File.ReadAllBytes(Path.Combine(tmpDir, fileName)) };
context.OutputPaths = new[] { fileName };
}
}
Expand Down Expand Up @@ -177,4 +177,4 @@ protected override void GetPluginsInternal(ConfuserContext context, IList<Protec
protections.Add(prot);
}
}
}
}