mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-20 15:44:18 +01:00
fix: show real assembly version for plugins
This commit is contained in:
parent
b84e9e24e2
commit
d13ece1bbf
1 changed files with 5 additions and 1 deletions
|
|
@ -1462,7 +1462,11 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
this.DrawUpdateSinglePluginButton(availablePluginUpdate);
|
this.DrawUpdateSinglePluginButton(availablePluginUpdate);
|
||||||
|
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
ImGui.TextColored(ImGuiColors.DalamudGrey3, $" v{plugin.Manifest.AssemblyVersion}");
|
var version = plugin.AssemblyName?.Version;
|
||||||
|
version ??= plugin.Manifest.Testing
|
||||||
|
? plugin.Manifest.TestingAssemblyVersion
|
||||||
|
: plugin.Manifest.AssemblyVersion;
|
||||||
|
ImGui.TextColored(ImGuiColors.DalamudGrey3, $" v{version}");
|
||||||
|
|
||||||
if (plugin.IsDev)
|
if (plugin.IsDev)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue