From ebe997089eced4d3b7eed136faa71abeedd0c06d Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Mon, 6 Dec 2021 19:04:53 +0100 Subject: [PATCH] feat: add client structs version to credits --- Dalamud/Interface/Internal/Windows/CreditsWindow.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/CreditsWindow.cs b/Dalamud/Interface/Internal/Windows/CreditsWindow.cs index 7fd341048..fc85c8423 100644 --- a/Dalamud/Interface/Internal/Windows/CreditsWindow.cs +++ b/Dalamud/Interface/Internal/Windows/CreditsWindow.cs @@ -8,6 +8,7 @@ using Dalamud.Game; using Dalamud.Game.Gui; using Dalamud.Interface.Windowing; using Dalamud.Plugin.Internal; +using Dalamud.Utility; using ImGuiNET; using ImGuiScene; @@ -101,7 +102,7 @@ aers We use these awesome C# libraries: Lumina by Adam -FFXIVClientStructs by aers +FFXIVClientStructs by aers ({2}) DotNetCorePlugins Copyright (c) Nate McMaster @@ -155,7 +156,7 @@ Thank you for using XIVLauncher and Dalamud! .Select(plugin => $"{plugin.Manifest.Name} by {plugin.Manifest.Author}\n") .Aggregate(string.Empty, (current, next) => $"{current}{next}"); - this.creditsText = string.Format(CreditsTextTempl, typeof(Dalamud).Assembly.GetName().Version, pluginCredits); + this.creditsText = string.Format(CreditsTextTempl, typeof(Dalamud).Assembly.GetName().Version, pluginCredits, Util.GetGitHashClientStructs()); Service.Get().SetBgm(132); this.creditsThrottler.Restart();