using System; using System.IO; namespace Dalamud.Bootstrap { public sealed class BootstrapperOptions { public static BootstrapperOptions Default => new BootstrapperOptions { RootDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Dalamud"), BinaryDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Dalamud", "bin"), }; /// /// A directory to where Dalamud data is located. /// public string RootDirectory { get; set; } = ""; /// /// A directory to where `Dalamud.dll` and its dependencies are located. /// /// /// This path doesn't need to be the same directory as where the launcher is located. /// public string BinaryDirectory { get; set; } = ""; } }