mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
20 lines
573 B
C#
20 lines
573 B
C#
|
using System.Threading.Tasks;
|
|||
|
using Wabbajack.Common;
|
|||
|
|
|||
|
namespace Wabbajack.Lib
|
|||
|
{
|
|||
|
public class CompilerSettings
|
|||
|
{
|
|||
|
public const string FileName = "compiler_settings.json";
|
|||
|
|
|||
|
public static async Task<CompilerSettings> Load(AbsolutePath folder)
|
|||
|
{
|
|||
|
var path = folder.Combine(FileName);
|
|||
|
return !path.IsFile ? new CompilerSettings() : path.FromJson<CompilerSettings>();
|
|||
|
}
|
|||
|
|
|||
|
public Game[] IncludedGames { get; set; } = new Game[0];
|
|||
|
public string[] OtherProfiles { get; set; } = new string[0];
|
|||
|
}
|
|||
|
}
|