mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Use new version format in a few other places
This commit is contained in:
parent
2b96f2187c
commit
2bdd0dbe7b
5 changed files with 5 additions and 6 deletions
|
|
@ -329,7 +329,7 @@ internal class DalamudCommands : IServiceType
|
||||||
|
|
||||||
chatGui.Print(new SeStringBuilder()
|
chatGui.Print(new SeStringBuilder()
|
||||||
.AddItalics("Dalamud:")
|
.AddItalics("Dalamud:")
|
||||||
.AddText($" D{Util.AssemblyVersion}({Util.GetScmVersion()}")
|
.AddText($" {Util.GetScmVersion()}")
|
||||||
.Build());
|
.Build());
|
||||||
|
|
||||||
chatGui.Print(new SeStringBuilder()
|
chatGui.Print(new SeStringBuilder()
|
||||||
|
|
|
||||||
|
|
@ -818,8 +818,7 @@ internal class DalamudInterface : IInternalDisposableService
|
||||||
{
|
{
|
||||||
this.OpenBranchSwitcher();
|
this.OpenBranchSwitcher();
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.MenuItem(Util.AssemblyVersion, false);
|
|
||||||
ImGui.MenuItem(this.dalamud.StartInfo.GameVersion?.ToString() ?? "Unknown version", false);
|
ImGui.MenuItem(this.dalamud.StartInfo.GameVersion?.ToString() ?? "Unknown version", false);
|
||||||
ImGui.MenuItem($"D: {Util.GetScmVersion()} CS: {Util.GetGitHashClientStructs()}[{FFXIVClientStructs.ThisAssembly.Git.Commits}]", false);
|
ImGui.MenuItem($"D: {Util.GetScmVersion()} CS: {Util.GetGitHashClientStructs()}[{FFXIVClientStructs.ThisAssembly.Git.Commits}]", false);
|
||||||
ImGui.MenuItem($"CLR: {Environment.Version}", false);
|
ImGui.MenuItem($"CLR: {Environment.Version}", false);
|
||||||
|
|
|
||||||
|
|
@ -360,7 +360,7 @@ internal sealed class ChangelogWindow : Window, IDisposable
|
||||||
{
|
{
|
||||||
case State.WindowFadeIn:
|
case State.WindowFadeIn:
|
||||||
case State.ExplainerIntro:
|
case State.ExplainerIntro:
|
||||||
ImGui.TextWrapped($"Welcome to Dalamud v{Util.AssemblyVersion}!");
|
ImGui.TextWrapped($"Welcome to Dalamud v{Util.GetScmVersion()}!");
|
||||||
ImGuiHelpers.ScaledDummy(5);
|
ImGuiHelpers.ScaledDummy(5);
|
||||||
ImGui.TextWrapped(ChangeLog);
|
ImGui.TextWrapped(ChangeLog);
|
||||||
ImGuiHelpers.ScaledDummy(5);
|
ImGuiHelpers.ScaledDummy(5);
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ internal class HappyHttpClient : IInternalDisposableService
|
||||||
{
|
{
|
||||||
UserAgent =
|
UserAgent =
|
||||||
{
|
{
|
||||||
new ProductInfoHeaderValue("Dalamud", Util.AssemblyVersion),
|
new ProductInfoHeaderValue("Dalamud", Util.GetScmVersion()),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ internal class PluginRepository
|
||||||
},
|
},
|
||||||
UserAgent =
|
UserAgent =
|
||||||
{
|
{
|
||||||
new ProductInfoHeaderValue("Dalamud", Util.AssemblyVersion),
|
new ProductInfoHeaderValue("Dalamud", Util.GetScmVersion()),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue