From 6c5766d5abc230a4c9427ebb14acfca05255efb8 Mon Sep 17 00:00:00 2001 From: ghorsington Date: Sat, 25 Sep 2021 19:56:25 +0300 Subject: [PATCH] Print file write date only in console --- BepInEx.Preloader/Preloader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BepInEx.Preloader/Preloader.cs b/BepInEx.Preloader/Preloader.cs index a2664e4..3218a6f 100644 --- a/BepInEx.Preloader/Preloader.cs +++ b/BepInEx.Preloader/Preloader.cs @@ -52,12 +52,12 @@ namespace BepInEx.Preloader Version version = typeof(Paths).Assembly.GetName().Version; - string consoleTile = $"BepInEx {version} - {Paths.ProcessName} ({File.GetLastWriteTime(Paths.ExecutablePath)})"; + string consoleTile = $"BepInEx {version} - {Paths.ProcessName}"; if (ConsoleManager.ConsoleActive) ConsoleManager.SetConsoleTitle(consoleTile); - Logger.LogMessage(consoleTile); + Logger.LogMessage($"{consoleTile} ({File.GetLastWriteTime(Paths.ExecutablePath)})"); //See BuildInfoAttribute for more information about this section. object[] attributes = typeof(BuildInfoAttribute).Assembly.GetCustomAttributes(typeof(BuildInfoAttribute), false);