config: add a default static SparkleConfig

This commit is contained in:
Hylke Bons 2011-05-25 01:00:27 +01:00
parent 80c676de6c
commit 7634b7f655

View file

@ -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);
}
}