mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-11-19 13:17:07 +00:00
Print file write data in console
Originally commit 6c5766d5ab
Co-authored-by: ghorsington <neigh@coder.horse>
This commit is contained in:
1 parent
a5b7dabc1d
commit
92f7d25698
1 file changed
+2
-1
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using BepInEx.Logging;
|
||||
@@ -38,7 +39,7 @@ public static class ChainloaderLogHelper
|
||||
var versionMini = new SemanticVersioning.Version(bepinVersion.Major, bepinVersion.Minor, bepinVersion.Patch,
|
||||
bepinVersion.PreRelease);
|
||||
var consoleTitle = $"BepInEx {versionMini} - {Paths.ProcessName}";
|
||||
log.Log(LogLevel.Message, consoleTitle);
|
||||
log.Log(LogLevel.Message, $"{consoleTitle} ({File.GetLastWriteTime(Paths.ExecutablePath)})");
|
||||
|
||||
if (ConsoleManager.ConsoleActive)
|
||||
ConsoleManager.SetConsoleTitle(consoleTitle);
|
||||
|
||||
Reference in new issue
Block a user