From 854d877713c973e0b844bc5ee70e72594990d47b Mon Sep 17 00:00:00 2001 From: Lacyway <20912169+Lacyway@users.noreply.github.com> Date: Fri, 17 May 2024 16:39:06 +0200 Subject: [PATCH] Log full version on startup --- Fika.Core/FikaPlugin.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Fika.Core/FikaPlugin.cs b/Fika.Core/FikaPlugin.cs index c4ed87ff..0a41755c 100644 --- a/Fika.Core/FikaPlugin.cs +++ b/Fika.Core/FikaPlugin.cs @@ -30,6 +30,7 @@ using System.Linq; using System.Net; using System.Net.Sockets; +using System.Reflection; using System.Text; using UnityEngine; @@ -205,7 +206,9 @@ protected void Awake() DisableSPTPatches(); EnableOverridePatches(); - Logger.LogInfo($"Fika is loaded!"); + string fikaVersion = Assembly.GetAssembly(typeof(FikaPlugin)).GetName().Version.ToString(); + + Logger.LogInfo($"Fika is loaded! Running version: " + fikaVersion); // Store all loaded plugins (mods) to improve compatibility List tempPluginInfos = [];