mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Print file write date only in console
This commit is contained in:
1 parent
708ebcd449
commit
6c5766d5ab
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user