Skip to content

Commit

Permalink
Log full version on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 17, 2024
1 parent 95e071c commit 854d877
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Fika.Core/FikaPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Reflection;
using System.Text;
using UnityEngine;

Expand Down Expand Up @@ -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<string> tempPluginInfos = [];
Expand Down

0 comments on commit 854d877

Please sign in to comment.