Fix config attributes

This commit is contained in:
John Gross
2017-07-26 00:36:23 -07:00
parent 87d9825c91
commit df0f8072a9

View File

@@ -24,11 +24,11 @@ namespace Torch.Server
public string InstancePath { get; set; } public string InstancePath { get; set; }
/// <inheritdoc /> /// <inheritdoc />
[JsonIgnore, Arg("noupdate", "Disable automatically downloading game and plugin updates.")] [XmlIgnore, Arg("noupdate", "Disable automatically downloading game and plugin updates.")]
public bool NoUpdate { get; set; } public bool NoUpdate { get; set; }
/// <inheritdoc /> /// <inheritdoc />
[JsonIgnore, Arg("forceupdate", "Manually check for and install updates.")] [XmlIgnore, Arg("forceupdate", "Manually check for and install updates.")]
public bool ForceUpdate { get; set; } public bool ForceUpdate { get; set; }
/// <inheritdoc /> /// <inheritdoc />
@@ -44,7 +44,7 @@ namespace Torch.Server
public bool NoGui { get; set; } public bool NoGui { get; set; }
/// <inheritdoc /> /// <inheritdoc />
[JsonIgnore, Arg("waitforpid", "Makes Torch wait for another process to exit.")] [XmlIgnore, Arg("waitforpid", "Makes Torch wait for another process to exit.")]
public string WaitForPID { get; set; } public string WaitForPID { get; set; }
/// <inheritdoc /> /// <inheritdoc />
@@ -61,7 +61,7 @@ namespace Torch.Server
internal Point WindowSize { get; set; } = new Point(800, 600); internal Point WindowSize { get; set; } = new Point(800, 600);
internal Point WindowPosition { get; set; } = new Point(); internal Point WindowPosition { get; set; } = new Point();
[JsonIgnore] [XmlIgnore]
private string _path; private string _path;
public TorchConfig() : this("Torch") { } public TorchConfig() : this("Torch") { }