Allow home path to be specified
This commit is contained in:
parent
98746b26c7
commit
b0457580b5
|
@ -37,6 +37,9 @@ namespace SparkleLib {
|
|||
|
||||
public string HomePath {
|
||||
get {
|
||||
if (GetConfigOption ("home_path") != null)
|
||||
return GetConfigOption ("home_path");
|
||||
else
|
||||
return Environment.GetFolderPath (Environment.SpecialFolder.Personal);
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +108,7 @@ namespace SparkleLib {
|
|||
|
||||
} finally {
|
||||
Load (FullPath);
|
||||
TmpPath = Path.Combine(FoldersPath, ".tmp");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue