Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ex5 troubleshoot data #183

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading