From 0d719ee01f72538b6b69a520f8a8b34d7b45b9b0 Mon Sep 17 00:00:00 2001 From: zznty <94796179+zznty@users.noreply.github.com> Date: Thu, 7 Sep 2023 14:46:12 +0700 Subject: [PATCH] fix startup crash after update --- Torch/Patches/KeenLogPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Torch/Patches/KeenLogPatch.cs b/Torch/Patches/KeenLogPatch.cs index b22f729..b38ffca 100644 --- a/Torch/Patches/KeenLogPatch.cs +++ b/Torch/Patches/KeenLogPatch.cs @@ -44,7 +44,7 @@ namespace Torch.Patches [ReflectedMethodInfo(typeof(MyLog), nameof(MyLog.WriteLineAndConsole), Parameters = new[] { typeof(string) })] private static MethodInfo _logWriteLineAndConsole; - [ReflectedMethodInfo(typeof(MyLog), nameof(MyLog.Init))] + [ReflectedMethodInfo(typeof(MyLog), nameof(MyLog.Init), Parameters = new[] { typeof(string), typeof(StringBuilder), typeof(bool) })] private static MethodInfo _logInit; [ReflectedMethodInfo(typeof(MyLog), nameof(MyLog.Close))]