mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
27 lines
967 B
C#
27 lines
967 B
C#
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; } = "";
|
|
}
|
|
}
|