mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
feat: include git hash in feedback
This commit is contained in:
parent
7b0895719f
commit
80cb19d4d2
1 changed files with 4 additions and 0 deletions
|
|
@ -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; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue