diff --git a/SparkleShare/Linux/Controller.cs b/SparkleShare/Linux/Controller.cs index cc55e6d7..e46b5812 100644 --- a/SparkleShare/Linux/Controller.cs +++ b/SparkleShare/Linux/Controller.cs @@ -23,6 +23,7 @@ using Gtk; using Mono.Unix.Native; using Sparkles; +using Sparkles.Git; namespace SparkleShare { @@ -31,6 +32,8 @@ namespace SparkleShare { public Controller (Configuration config) : base (config) { + if (InstallationInfo.IsFlatpak) + GitCommand.ExecPath = Path.Combine ("/app", "libexec", "git-core"); }