Write default config on first run
This commit is contained in:
parent
ad2da48c95
commit
8b887d9b76
|
@ -71,6 +71,8 @@ namespace SparkleShare {
|
|||
UserInfoForm.CellSize = new SizeF (280, 22);
|
||||
UserInfoForm.IntercellSpacing = new SizeF (4, 4);
|
||||
|
||||
|
||||
// TODO: Move to Controller.WriteDefaultConfig
|
||||
string full_name = new UnixUserInfo (UnixEnvironment.UserName).RealName;
|
||||
if (string.IsNullOrEmpty (full_name))
|
||||
full_name = "";
|
||||
|
|
|
@ -116,6 +116,7 @@ namespace SparkleShare {
|
|||
FirstRun = false;
|
||||
|
||||
} else {
|
||||
WriteDefaultConfig ("Unknown", "");
|
||||
FirstRun = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue