Skip to content

Presets

Hylke Bons edited this page Sep 19, 2024 · 2 revisions

The preset feature makes it possible to add your own presets file. It is possible to preset an address or a complete address and repository.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<sparkleshare>
  <preset>
    <info>
      <name>YourRepoName</name>
      <description>Short description</description>
      <fingerprint>16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48</fingerprint> // Optional. This is a SHA256 representation of the base64 encoded RSA host key fingerprint.
      <icon>image.png</icon>
      <backend>Git</backend>
    </info>
    <address>
      <value>ssh://[email protected]/</value>
      <example></example>
    </address>
    <path>
      <value></value>
      <example>/project</example>
    </path>
  </preset>
</sparkleshare>