From cb3223c267e935cf745219b11ad59006f727de5e Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 9 Sep 2017 16:52:46 +0100 Subject: [PATCH] mac controller: Make file copy a bit more verbose --- SparkleShare/Mac/Controller.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/SparkleShare/Mac/Controller.cs b/SparkleShare/Mac/Controller.cs index 5c233d32..0bc168ae 100644 --- a/SparkleShare/Mac/Controller.cs +++ b/SparkleShare/Mac/Controller.cs @@ -47,10 +47,15 @@ namespace SparkleShare { GitCommand.GitPath = Path.Combine (NSBundle.MainBundle.ResourcePath, "git", "libexec", "git-core", "git"); GitCommand.ExecPath = Path.Combine (NSBundle.MainBundle.ResourcePath, "git", "libexec", "git-core"); - File.Copy (Path.Combine (GitCommand.ExecPath, "git-lfs"), Path.Combine (Config.BinPath, "git-lfs"), true); + bool overwite = true; + + File.Copy ( + Path.Combine (GitCommand.ExecPath, "git-lfs"), + Path.Combine (Config.BinPath, "git-lfs"), + overwite); } - + public override void Initialize () { base.Initialize ();