diff --git a/modSystem.cs b/modSystem.cs index 7d22f6d..82596c2 100644 --- a/modSystem.cs +++ b/modSystem.cs @@ -50,7 +50,11 @@ public static string GetInstalledSoftware() } } } - modLogging.LogEvent("Detected new software installed: " + NewSoftware, EventLogEntryType.Information, 6051); + if (NewSoftware != "") + { + NewSoftware = NewSoftware.Substring(0, NewSoftware.Length - 2); + modLogging.LogEvent("Detected new software installed: " + NewSoftware, EventLogEntryType.Information, 6051); + } return "Installed Applications: " + count.ToString(); } catch (Exception err)