mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-17 05:17:42 +01:00
galaxy brain 2: bit of restructure (Bootstrap)
This commit is contained in:
parent
2438a89867
commit
350d2961c1
19 changed files with 345 additions and 136 deletions
27
Dalamud.Bootstrap/BootstrapperOptions.cs
Normal file
27
Dalamud.Bootstrap/BootstrapperOptions.cs
Normal 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; } = "";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue