mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: update changelog
This commit is contained in:
parent
2c4f858ced
commit
87655d51cb
4 changed files with 31 additions and 15 deletions
|
|
@ -1,5 +1,7 @@
|
|||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
|
||||
using Dalamud.Interface.Colors;
|
||||
using Dalamud.Interface.Windowing;
|
||||
using Dalamud.Utility;
|
||||
using ImGuiNET;
|
||||
|
|
@ -14,15 +16,19 @@ namespace Dalamud.Interface.Internal.Windows
|
|||
/// <summary>
|
||||
/// Whether the latest update warrants a changelog window.
|
||||
/// </summary>
|
||||
public const bool WarrantsChangelog = true;
|
||||
public const string WarrantsChangelogForMajorMinor = "6.0.";
|
||||
|
||||
private const string ChangeLog =
|
||||
@"* Various behind-the-scenes changes to improve stability and provide more functionality to plugin developers
|
||||
@"This is the biggest update of the in-game addon to date.
|
||||
We have redone most of the underlying systems, providing you with a better experience playing and browsing for plugins, including better performance, and developers with a better API and more comfortable development environment. You will receive this update automatically the next time you start the game.
|
||||
|
||||
ATTENTION: YOU WILL HAVE TO UPDATE/REINSTALL ALL OF YOUR PLUGINS!!!!
|
||||
If you note any issues or need help, please make sure to ask on our discord server.
|
||||
If you note any issues or need help, please make sure to ask on our discord server.";
|
||||
|
||||
Thank you for participating in the Dalamud collaborative testing programme.";
|
||||
private const string UpdatePluginsInfo =
|
||||
@"• All of your plugins were disabled automatically, due to this update. This is normal.
|
||||
• Open the plugin installer, then click 'update plugins'. Updated plugins should update and then re-enable themselves.
|
||||
=> Please keep in mind that not all of your plugins may already be updated for the new version.
|
||||
=> If some plugins are displayed with a red cross in the 'Installed Plugins' tab, they may not yet be available.";
|
||||
|
||||
private readonly string assemblyVersion = Util.AssemblyVersion;
|
||||
|
||||
|
|
@ -30,11 +36,12 @@ Thank you for participating in the Dalamud collaborative testing programme.";
|
|||
/// Initializes a new instance of the <see cref="ChangelogWindow"/> class.
|
||||
/// </summary>
|
||||
public ChangelogWindow()
|
||||
: base("What's new in XIVLauncher?", ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoResize)
|
||||
: base("What's new in XIVLauncher?")
|
||||
{
|
||||
this.Namespace = "DalamudChangelogWindow";
|
||||
|
||||
this.IsOpen = WarrantsChangelog;
|
||||
this.Size = new Vector2(885, 385);
|
||||
this.SizeCondition = ImGuiCond.Appearing;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
|
@ -45,7 +52,13 @@ Thank you for participating in the Dalamud collaborative testing programme.";
|
|||
ImGuiHelpers.ScaledDummy(10);
|
||||
|
||||
ImGui.Text("The following changes were introduced:");
|
||||
ImGui.Text(ChangeLog);
|
||||
ImGui.TextWrapped(ChangeLog);
|
||||
|
||||
ImGuiHelpers.ScaledDummy(5);
|
||||
|
||||
ImGui.TextColored(ImGuiColors.DalamudRed, " !!! ATTENTION !!!");
|
||||
|
||||
ImGui.TextWrapped(UpdatePluginsInfo);
|
||||
|
||||
ImGuiHelpers.ScaledDummy(10);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue