Skip to content

Commit

Permalink
Improve new software list
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdtrekkie committed Jun 21, 2024
1 parent 96b2665 commit 103d8a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 103d8a7

Please sign in to comment.