Merge pull request #1810 from hbons/fix/flatpak-dugite-native
Set exec directory manually when in a flatpak
This commit is contained in:
commit
183d9dab83
|
@ -19,6 +19,8 @@ Under the hood SparkleShare uses the version control system [Git](https://git-sc
|
||||||
|
|
||||||
Here are instructions to build SparkleShare on [Linux distributions](SparkleShare/Linux/README.md), [macOS](SparkleShare/Mac/README.md), and [Windows](SparkleShare/Windows/README.md).
|
Here are instructions to build SparkleShare on [Linux distributions](SparkleShare/Linux/README.md), [macOS](SparkleShare/Mac/README.md), and [Windows](SparkleShare/Windows/README.md).
|
||||||
|
|
||||||
|
Note: on some Linux distributions you'll need the TopIcons extension for GNOME Shell to show the SparkleShare status icon.
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/hbons/SparkleShare.svg?branch=master)](https://travis-ci.org/hbons/SparkleShare)
|
[![Build Status](https://travis-ci.org/hbons/SparkleShare.svg?branch=master)](https://travis-ci.org/hbons/SparkleShare)
|
||||||
[![Join the chat at https://gitter.im/hbons/SparkleShare](https://badges.gitter.im/hbons/SparkleShare.svg)](https://gitter.im/hbons/SparkleShare?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[![Join the chat at https://gitter.im/hbons/SparkleShare](https://badges.gitter.im/hbons/SparkleShare.svg)](https://gitter.im/hbons/SparkleShare?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
<description>
|
<description>
|
||||||
<p>SparkleShare is a file sharing and collaboration app. It works just like Dropbox, and you can run it on your own server.</p>
|
<p>SparkleShare is a file sharing and collaboration app. It works just like Dropbox, and you can run it on your own server.</p>
|
||||||
<p>SparkleShare is based on the popular version control system Git. It even supports the popular extension Git LFS to deal well with large files. So if you are already using Git repositories in your company, SparkleShare will integrate seamlessly.</p>
|
<p>SparkleShare is based on the popular version control system Git. It even supports the popular extension Git LFS to deal well with large files. So if you are already using Git repositories in your company, SparkleShare will integrate seamlessly.</p>
|
||||||
|
<p>Note: on some Linux distributions you'll need the TopIcons extension for GNOME Shell to show the SparkleShare status icon.</p>
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
@ -51,7 +52,7 @@
|
||||||
<image type="source" width="1600" height="900">https://github.com/hbons/SparkleShare/blob/master/SparkleShare/Linux/Images/gnome-software-screenshot-3.png?raw=true</image>
|
<image type="source" width="1600" height="900">https://github.com/hbons/SparkleShare/blob/master/SparkleShare/Linux/Images/gnome-software-screenshot-3.png?raw=true</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
|
|
||||||
<id type="desktop">org.sparkleshare.SparkleShare.desktop</id>
|
<id type="desktop">org.sparkleshare.SparkleShare.desktop</id>
|
||||||
<launchable id="desktop-id">org.sparkleshare.SparkleShare.desktop</launchable>
|
<launchable id="desktop-id">org.sparkleshare.SparkleShare.desktop</launchable>
|
||||||
<provides>
|
<provides>
|
||||||
|
|
Loading…
Reference in a new issue