mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
fix: also send testing version in feedback
This commit is contained in:
parent
d13ece1bbf
commit
3ee5613517
2 changed files with 8 additions and 6 deletions
|
|
@ -23,7 +23,7 @@ namespace Dalamud.Support
|
|||
/// <param name="reporter">The reporter name.</param>
|
||||
/// <param name="includeException">Whether or not the most recent exception to occur should be included in the report.</param>
|
||||
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
||||
public static async Task SendFeedback(PluginManifest plugin, string content, string reporter, bool includeException)
|
||||
public static async Task SendFeedback(PluginManifest plugin, bool isTesting, string content, string reporter, bool includeException)
|
||||
{
|
||||
if (content.IsNullOrWhitespace())
|
||||
return;
|
||||
|
|
@ -33,7 +33,7 @@ namespace Dalamud.Support
|
|||
Content = content,
|
||||
Reporter = reporter,
|
||||
Name = plugin.InternalName,
|
||||
Version = plugin.AssemblyVersion.ToString(),
|
||||
Version = isTesting ? plugin.TestingAssemblyVersion?.ToString() : plugin.AssemblyVersion.ToString(),
|
||||
DalamudHash = Util.GetGitHash(),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue