fougerite / Fougerite

Fougerite Project is unofficial fork of Magma. Forked to develop it with community.
http://fougerite.com/
Other
4 stars 19 forks source link

For Distribution zip, Merge DLL, with reference to Unity's Mono mscorlib #49

Closed mikecrews closed 10 years ago

mikecrews commented 10 years ago

ILMerge can combine Fougerite.Patcher.exe with Mono.Cecil.dll into one exe. ILMerge can combine JintPlugin.dll with Jint.dll into one dll. ILMerge can combine Fougerite.dll with patched Microsoft.Contracts.dll into one dll.

I don't have VS so I am doing this in a batch file. I do it before using ccrefgen and ccrewrite to rewrite the assembly for Contracts.

ILMerge and ccrewrite both take an argument for targetplatform. I have been using Unity's Mono 2.0 included with the Desktop download. This version matches the version in the Rust server Managed folder.

I think we should combine those exe and dll for the distribution zip. One dll in Managed and one patch program is as neat as possible. It also adds credibility to the module scheme. One dll in Managed, one Dll for each module.

I haven't found any problems yet.

mikecrews commented 10 years ago

This is no longer necessary. JintPlugin is self-contained.