Understand the Update Protocol
masterThe update process follows an HTTP(s) protocol. The client first fetches a JSON manifest for a specific platform, then attempts to download a binary diff (patch) or falls back to a full gzipped binary.
1. Fetch Manifest:
GET <server>/<appname>/<os>-<arch>.json
Response Format:
{
"Version": "2",
"Sha256": "..."
}2. Fetch Patch (Optional):
GET <diff-url>/<appname>/<current-version>/<target-version>/<os>-<arch>
3. Fetch Full Binary (Fallback):
GET <bin-url>/<appname>/<target-version>/<os>-<arch>.gz
Required Files on Server:
<appname>/<os>-<arch>.json<appname>/<latest>/<os>-<arch>.gz