mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 00:07:49 +01:00
feat: update changelog
This commit is contained in:
parent
2c4f858ced
commit
87655d51cb
4 changed files with 31 additions and 15 deletions
|
|
@ -14,6 +14,7 @@ using Dalamud.Game.Text.SeStringHandling;
|
|||
using Dalamud.Game.Text.SeStringHandling.Payloads;
|
||||
using Dalamud.Interface.Internal;
|
||||
using Dalamud.Interface.Internal.Notifications;
|
||||
using Dalamud.Interface.Internal.Windows;
|
||||
using Dalamud.IoC;
|
||||
using Dalamud.IoC.Internal;
|
||||
using Dalamud.Plugin.Internal;
|
||||
|
|
@ -260,8 +261,11 @@ namespace Dalamud.Game
|
|||
Type = XivChatType.Notice,
|
||||
});
|
||||
|
||||
if (dalamudInterface.WarrantsChangelog)
|
||||
if (string.IsNullOrEmpty(configuration.LastChangelogMajorMinor) || (!ChangelogWindow.WarrantsChangelogForMajorMinor.StartsWith(configuration.LastChangelogMajorMinor) && assemblyVersion.StartsWith(ChangelogWindow.WarrantsChangelogForMajorMinor)))
|
||||
{
|
||||
dalamudInterface.OpenChangelogWindow();
|
||||
configuration.LastChangelogMajorMinor = ChangelogWindow.WarrantsChangelogForMajorMinor;
|
||||
}
|
||||
|
||||
configuration.LastVersion = assemblyVersion;
|
||||
configuration.Save();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue