linux controller: Set exec path to find the right subcommands
This commit is contained in:
parent
6c8aaceb65
commit
ae7455c886
|
@ -23,6 +23,7 @@ using Gtk;
|
||||||
using Mono.Unix.Native;
|
using Mono.Unix.Native;
|
||||||
|
|
||||||
using Sparkles;
|
using Sparkles;
|
||||||
|
using Sparkles.Git;
|
||||||
|
|
||||||
namespace SparkleShare {
|
namespace SparkleShare {
|
||||||
|
|
||||||
|
@ -31,6 +32,8 @@ namespace SparkleShare {
|
||||||
public Controller (Configuration config)
|
public Controller (Configuration config)
|
||||||
: base (config)
|
: base (config)
|
||||||
{
|
{
|
||||||
|
if (InstallationInfo.IsFlatpak)
|
||||||
|
GitCommand.ExecPath = Path.Combine ("/app", "libexec", "git-core");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue