feat: include git hash in feedback

This commit is contained in:
goaaats 2021-10-07 20:35:22 +02:00
parent 7b0895719f
commit 80cb19d4d2
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -36,6 +36,7 @@ namespace Dalamud.Support
Reporter = reporter, Reporter = reporter,
Name = plugin.InternalName, Name = plugin.InternalName,
Version = plugin.AssemblyVersion.ToString(), Version = plugin.AssemblyVersion.ToString(),
DalamudHash = Util.GetGitHash(),
}; };
if (includeException) if (includeException)
@ -57,6 +58,9 @@ namespace Dalamud.Support
[JsonProperty("name")] [JsonProperty("name")]
public string? Name { get; set; } public string? Name { get; set; }
[JsonProperty("dhash")]
public string? DalamudHash { get; set; }
[JsonProperty("version")] [JsonProperty("version")]
public string? Version { get; set; } public string? Version { get; set; }