Add an 'open' argument to the sparkleshare command to handle sparkleshare://
This commit is contained in:
parent
b99b979098
commit
ac38601749
|
@ -21,6 +21,7 @@ information see the LICENSE file or visit http://www.gnu.org/licenses/gpl-3.0.ht
|
||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
|
|
||||||
|
- curl
|
||||||
- git >= 1.7.3
|
- git >= 1.7.3
|
||||||
- gtk-sharp2
|
- gtk-sharp2
|
||||||
- mono-core >= 2.8
|
- mono-core >= 2.8
|
||||||
|
|
|
@ -61,6 +61,9 @@ case $1 in
|
||||||
stop
|
stop
|
||||||
start
|
start
|
||||||
;;
|
;;
|
||||||
|
open|--open)
|
||||||
|
curl -o ~/SparkleShare/`date -u +%N`.xml `echo $2 | sed s/sparkleshare:/https:/`
|
||||||
|
;;
|
||||||
help|--help|-h)
|
help|--help|-h)
|
||||||
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --help
|
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --help
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue