Skip to content

Commit

Permalink
Merge pull request #183 from goatcorp/add-ex5-troubleshoot
Browse files Browse the repository at this point in the history
Add ex5 troubleshoot data
  • Loading branch information
reiichi001 authored Sep 21, 2024
2 parents 6cbc118 + 6bfe3be commit 94aa7a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/XIVLauncher.Core/Support/Troubleshooting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ internal static string GetTroubleshootingJson()
var ex3VerBck = Repository.Ex3.GetVer(gamePath, true);
var ex4Ver = Repository.Ex4.GetVer(gamePath);
var ex4VerBck = Repository.Ex4.GetVer(gamePath, true);
var ex5Ver = Repository.Ex5.GetVer(gamePath);
var ex5VerBck = Repository.Ex5.GetVer(gamePath, true);


var payload = new TroubleshootingPayload
{
Expand All @@ -129,9 +132,10 @@ internal static string GetTroubleshootingJson()
ObservedEx2Version = ex2Ver,
ObservedEx3Version = ex3Ver,
ObservedEx4Version = ex4Ver,
ObservedEx5Version = ex5Ver,

BckMatch = ffxivVer == ffxivVerBck && ex1Ver == ex1VerBck && ex2Ver == ex2VerBck &&
ex3Ver == ex3VerBck && ex4Ver == ex4VerBck,
ex3Ver == ex3VerBck && ex4Ver == ex4VerBck && ex5Ver == ex5VerBck,

IndexIntegrity = integrity
};
Expand Down Expand Up @@ -182,6 +186,7 @@ private class TroubleshootingPayload
public string ObservedEx2Version { get; set; } = string.Empty;
public string ObservedEx3Version { get; set; } = string.Empty;
public string ObservedEx4Version { get; set; } = string.Empty;
public string ObservedEx5Version { get; set; } = string.Empty;

public bool BckMatch { get; set; }

Expand Down

0 comments on commit 94aa7a4

Please sign in to comment.