Add an 'open' argument to the sparkleshare command to handle sparkleshare://

This commit is contained in:
Hylke Bons 2012-02-26 22:41:42 +00:00
parent 05e1c53107
commit 6237ab3e66
2 changed files with 4 additions and 0 deletions

View file

@ -21,6 +21,7 @@ information see the LICENSE file or visit http://www.gnu.org/licenses/gpl-3.0.ht
Requirements:
- curl
- git >= 1.7.3
- gtk-sharp2
- mono-core >= 2.8

View file

@ -61,6 +61,9 @@ case $1 in
stop
start
;;
open|--open)
curl -o ~/SparkleShare/`date -u +%N`.xml `echo $2 | sed s/sparkleshare:/https:/`
;;
help|--help|-h)
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --help
;;