From 6c8aaceb65942e36b4d3eaae9cd2287bb3941a1d Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 21 Feb 2018 16:47:01 +0000 Subject: [PATCH 1/2] readme: Add note for status icon --- README.md | 2 ++ SparkleShare/Linux/org.sparkleshare.SparkleShare.appdata.xml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 113345c3..fdff52cd 100644 --- a/README.md +++ b/README.md @@ -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). +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) [![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) diff --git a/SparkleShare/Linux/org.sparkleshare.SparkleShare.appdata.xml b/SparkleShare/Linux/org.sparkleshare.SparkleShare.appdata.xml index 32dd5e25..4c642680 100644 --- a/SparkleShare/Linux/org.sparkleshare.SparkleShare.appdata.xml +++ b/SparkleShare/Linux/org.sparkleshare.SparkleShare.appdata.xml @@ -10,6 +10,7 @@

SparkleShare is a file sharing and collaboration app. It works just like Dropbox, and you can run it on your own server.

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.

+

Note: on some Linux distributions you'll need the TopIcons extension for GNOME Shell to show the SparkleShare status icon.

@@ -51,7 +52,7 @@ https://github.com/hbons/SparkleShare/blob/master/SparkleShare/Linux/Images/gnome-software-screenshot-3.png?raw=true - + org.sparkleshare.SparkleShare.desktop org.sparkleshare.SparkleShare.desktop From ae7455c886ef3741ec05a4bec79815ccf9fe96e8 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 21 Feb 2018 17:39:35 +0000 Subject: [PATCH 2/2] linux controller: Set exec path to find the right subcommands --- SparkleShare/Linux/Controller.cs | 3 +++ 1 file changed, 3 insertions(+) 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"); }