repo: Make the SparkleShare.txt more fun and helpful

This commit is contained in:
Hylke Bons 2012-01-12 00:22:15 +00:00
parent d36ef5ee48
commit 93ef996afb

View file

@ -578,7 +578,20 @@ namespace SparkleLib {
{
string file_path = Path.Combine (LocalPath, "SparkleShare.txt");
TextWriter writer = new StreamWriter (file_path);
writer.WriteLine (":)");
writer.WriteLine ("Congratulations, you've successfully created a SparkleShare repository!");
writer.WriteLine ("");
writer.WriteLine ("Any files you add or change in this folder will be automatically synced to ");
writer.WriteLine (SparkleConfig.DefaultConfig.GetUrlForFolder (Name) + " and everyone connected to it.");
// TODO: Url property? ^
writer.WriteLine ("");
writer.WriteLine ("SparkleShare is a Free and Open Source software program that helps people ");
writer.WriteLine ("collaborate and share files. If you like what we do, please consider a small );
writer.WriteLine ("donation to support the project: http://sparkleshare.org/support-us/");
writer.WriteLine ("");
writer.WriteLine ("Have fun! :)");
writer.WriteLine ("");
writer.Close ();
}