galaxy brain 2: bit of restructure (Bootstrap)

This commit is contained in:
Mino 2020-03-11 11:52:51 +09:00
parent 2438a89867
commit 350d2961c1
19 changed files with 345 additions and 136 deletions

View file

@ -0,0 +1,27 @@
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"),
};
/// <summary>
/// A directory to where Dalamud data is located.
/// </summary>
public string RootDirectory { get; set; } = "";
/// <summary>
/// A directory to where `Dalamud.dll` and its dependencies are located.
/// </summary>
/// <remarks>
/// This path doesn't need to be the same directory as where the launcher is located.
/// </remarks>
public string BinaryDirectory { get; set; } = "";
}
}