config: add a default static SparkleConfig
This commit is contained in:
parent
80c676de6c
commit
7634b7f655
|
@ -22,6 +22,9 @@ namespace SparkleLib {
|
|||
|
||||
public class SparkleConfig : XmlDocument {
|
||||
|
||||
public static SparkleConfig DefaultConfig = new SparkleConfig (
|
||||
System.IO.Path.Combine (SparklePaths.SparkleConfigPath, "config.xml"));
|
||||
|
||||
public string Path;
|
||||
|
||||
|
||||
|
@ -43,7 +46,6 @@ namespace SparkleLib {
|
|||
node.InnerText = value;
|
||||
|
||||
Save (Path);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue