feat: allow configuring the default page the installer opens to

This commit is contained in:
goat 2023-10-25 17:32:42 +02:00
parent 9850ac3f15
commit 9875a7ea31
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
11 changed files with 98 additions and 43 deletions

View file

@ -4,6 +4,7 @@ using System.IO;
using System.Linq;
using Dalamud.Game.Text;
using Dalamud.Interface.Internal.Windows.PluginInstaller;
using Dalamud.Interface.Style;
using Dalamud.IoC.Internal;
using Dalamud.Plugin.Internal.Profiles;
@ -424,6 +425,11 @@ internal sealed class DalamudConfiguration : IServiceType, IDisposable
/// </summary>
public double UiBuilderHitch { get; set; } = 100;
/// <summary>
/// Gets or sets the page of the plugin installer that is shown by default when opened.
/// </summary>
public PluginInstallerWindow.PluginInstallerOpenKind PluginInstallerOpen { get; set; } = PluginInstallerWindow.PluginInstallerOpenKind.AllPlugins;
/// <summary>
/// Load a configuration from the provided path.
/// </summary>