Skip to content

Commit

Permalink
Fixed LauncherExVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Apr 7, 2024
1 parent 7db7c4d commit 7841da8
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ public virtual CrashReportMetadataModel GetCrashReportMetadataModel(CrashReportI
{
var butrLoaderVersion = GetBUTRLoaderVersion(crashReport);
var blseVersion = GetBLSEVersion(crashReport);
var launcherExVersion = GetLauncherExVersion(crashReport);

var additionalMetdata = new List<MetadataModel>();
if (!string.IsNullOrEmpty(launcherExVersion))
additionalMetdata.Add(new MetadataModel { Key = "LauncherExVersion", Value = launcherExVersion });

return new CrashReportMetadataModel
{
GameName = "Bannerlord",
Expand All @@ -122,10 +128,7 @@ public virtual CrashReportMetadataModel GetCrashReportMetadataModel(CrashReportI

Runtime = null,

AdditionalMetadata = new MetadataModel[]
{
new MetadataModel { Key = "LauncherExVersion", Value = GetLauncherExVersion(crashReport) },
},
AdditionalMetadata = additionalMetdata,
};
}

Expand Down

0 comments on commit 7841da8

Please sign in to comment.