mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
24 lines
838 B
C#
24 lines
838 B
C#
using Microsoft.Extensions.Configuration;
|
|
using Wabbajack.Paths;
|
|
|
|
namespace Wabbajack.BuildServer;
|
|
|
|
public class AppSettings
|
|
{
|
|
public AppSettings(IConfiguration config)
|
|
{
|
|
config.Bind("WabbajackSettings", this);
|
|
}
|
|
public bool TestMode { get; set; }
|
|
public string AuthorAPIKeyFile { get; set; }
|
|
public string WabbajackBuildServerUri { get; set; } = "https://build.wabbajack.org/";
|
|
public string MetricsKeyHeader { get; set; } = "x-metrics-key";
|
|
public string TempFolder { get; set; }
|
|
public AbsolutePath TempPath => (AbsolutePath) TempFolder;
|
|
public string SpamWebHook { get; set; } = null;
|
|
public string HamWebHook { get; set; } = null;
|
|
|
|
public string AuthoredFilesFolder { get; set; }
|
|
public string MetricsFolder { get; set; }
|
|
public string TarLogPath { get; set; }
|
|
} |