mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Add Platform/OS to plugin feedback (#2379)
This commit is contained in:
parent
1702c3be29
commit
ba9720cb65
1 changed files with 4 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ internal static class BugBait
|
||||||
Reporter = reporter,
|
Reporter = reporter,
|
||||||
Name = plugin.InternalName,
|
Name = plugin.InternalName,
|
||||||
Version = isTesting ? plugin.TestingAssemblyVersion?.ToString() : plugin.AssemblyVersion.ToString(),
|
Version = isTesting ? plugin.TestingAssemblyVersion?.ToString() : plugin.AssemblyVersion.ToString(),
|
||||||
|
Platform = Util.GetHostPlatform().ToString(),
|
||||||
DalamudHash = Util.GetScmVersion(),
|
DalamudHash = Util.GetScmVersion(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -66,6 +67,9 @@ internal static class BugBait
|
||||||
[JsonProperty("version")]
|
[JsonProperty("version")]
|
||||||
public string? Version { get; set; }
|
public string? Version { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("platform")]
|
||||||
|
public string? Platform { get; set; }
|
||||||
|
|
||||||
[JsonProperty("reporter")]
|
[JsonProperty("reporter")]
|
||||||
public string? Reporter { get; set; }
|
public string? Reporter { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue