From fcc30c24a6fa3f6b2898e272c27efe5bf0e662ab Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 17 May 2010 13:07:09 +0100 Subject: [PATCH] create configuration files after cloning the repo --- SparkleShare/SparkleDialog.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/SparkleShare/SparkleDialog.cs b/SparkleShare/SparkleDialog.cs index d8743e83..c64ec028 100644 --- a/SparkleShare/SparkleDialog.cs +++ b/SparkleShare/SparkleDialog.cs @@ -138,6 +138,16 @@ namespace SparkleShare { SparkleHelpers.CombineMore (SparklePaths.SparklePath, RepoName) ); + + // Enable notifications and synchronisation by default + File.Create (SparkleHelpers.CombineMore (SparklePaths.SparklePath, + RepoName, ".git", + "sparkleshare.notify")); + + File.Create (SparkleHelpers.CombineMore (SparklePaths.SparklePath, + RepoName, ".git", + "sparkleshare.sync")); + Destroy (); };