Add a plugin for SparkleShare.Net
This commit is contained in:
parent
916be7ae6d
commit
89ea034375
|
@ -145,10 +145,15 @@ namespace SparkleShare {
|
|||
if (Directory.Exists (Program.Controller.PluginsPath)) {
|
||||
foreach (string xml_file_path in Directory.GetFiles (Program.Controller.PluginsPath, "*.xml")) {
|
||||
// ...and "Own server" at the very top
|
||||
if (xml_file_path.EndsWith ("own-server.xml"))
|
||||
if (xml_file_path.EndsWith ("own-server.xml")) {
|
||||
Plugins.Insert (0, new SparklePlugin (xml_file_path));
|
||||
else
|
||||
|
||||
} else if (xml_file_path.EndsWith ("ssnet.xml")) {
|
||||
Plugins.Insert (1, new SparklePlugin (xml_file_path));
|
||||
|
||||
} else {
|
||||
Plugins.Add (new SparklePlugin (xml_file_path));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<plugin>
|
||||
<info>
|
||||
<_name>Github</_name>
|
||||
<_description>Collaborate on projects hosted on github.com</_description>
|
||||
<_description>Collaborate on projects hosted on Github</_description>
|
||||
<icon>github.png</icon>
|
||||
<backend>Git</backend>
|
||||
<fingerprint>16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48</fingerprint>
|
||||
|
|
BIN
data/plugins/ssnet.png
Normal file
BIN
data/plugins/ssnet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
20
data/plugins/ssnet.xml.in
Normal file
20
data/plugins/ssnet.xml.in
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sparkleshare>
|
||||
<plugin>
|
||||
<info>
|
||||
<_name>SparkleShare.Net</_name>
|
||||
<_description>The easiest way to share projects with SparkleShare</_description>
|
||||
<icon>ssnet.png</icon>
|
||||
<backend>Git</backend>
|
||||
</info>
|
||||
<address>
|
||||
<value>ssh://storage@sparkleshare.net/</value>
|
||||
<example></example>
|
||||
</address>
|
||||
<path>
|
||||
<value></value>
|
||||
<_example>/username/project</_example>
|
||||
</path>
|
||||
</plugin>
|
||||
</sparkleshare>
|
||||
|
Loading…
Reference in a new issue