From ca30be3135feea90032c2ae6cf8d95131e170b8a Mon Sep 17 00:00:00 2001 From: Quit Date: Sat, 8 Dec 2018 02:09:37 +0100 Subject: [PATCH] Fix missing entry handler for UnityEngine.dll on newer versions Fixes Eusth/IPA#5 --- IPA/PatchContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPA/PatchContext.cs b/IPA/PatchContext.cs index f3efb05..fc9dac9 100644 --- a/IPA/PatchContext.cs +++ b/IPA/PatchContext.cs @@ -49,7 +49,7 @@ namespace IPA context.ProjectName = Path.GetFileNameWithoutExtension(context.Executable); context.DataPathDst = Path.Combine(context.ProjectRoot, context.ProjectName + "_Data"); context.ManagedPath = Path.Combine(context.DataPathDst, "Managed"); - context.EngineFile = DetermineEngineFile(context.ManagedPath, "UnityEngine.dll", "UnityEngine.CoreModule.dll"); + context.EngineFile = DetermineEngineFile(context.ManagedPath, "UnityEngine.CoreModule.dll", "UnityEngine.dll"); context.AssemblyFile = Path.Combine(context.ManagedPath, "Assembly-Csharp.dll"); context.BackupPath = Path.Combine(Path.Combine(context.IPARoot, "Backups"), context.ProjectName); context.ShortcutPath = Path.Combine(context.ProjectRoot, $"{context.ProjectName} (Patch & Launch)") + ".lnk";