Add Platform/OS to plugin feedback (#2379)

This commit is contained in:
Lyna 2025-08-20 11:06:52 +02:00 committed by GitHub
parent 1702c3be29
commit ba9720cb65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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; }