From 96ce71e7becaa615f80e995be3a1dcf7f5b7bb0d Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 12 Jan 2012 00:22:15 +0000 Subject: [PATCH] repo: Make the SparkleShare.txt more fun and helpful --- SparkleLib/SparkleRepoBase.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index 05fad586..5f7ff63a 100755 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -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 (); }