Skip to main content

Tauri

Supports Tauri applications with built-in updater functionality, including cryptographic signature verification.

Key Features

  • Compatible with Tauri's built-in updater.
  • Supports cryptographic signature verification.
  • Returns a standard JSON response format with download URLs.
  • Requires a signature field for security validation.

Signature Requirement

The Tauri updater requires cryptographic signatures for update verification. When uploading Tauri applications you must include a signature field in the upload request. This signature is generated by Tauri's build process and ensures update integrity and authenticity.

Checking for Updates

curl -X GET 'http://localhost:9000/checkVersion?app_name=myapp&version=1.0.0&channel=stable&platform=darwin&arch=amd64&owner=admin&updater=tauri'

The response is a standard JSON payload with download URLs plus the signature information the Tauri updater expects.

Upload with the updater Parameter

curl -X POST --location 'http://localhost:9000/upload' \
--header 'Authorization: Bearer <jwt_token>' \
--form 'file=@"/path_to_file/myapp.app.tar.gz"' \
--form 'data="{\"app_name\":\"myapp\",\"version\":\"1.0.0\",\"channel\":\"stable\",\"publish\":true,\"platform\":\"darwin\",\"arch\":\"amd64\",\"updater\":\"tauri\",\"signature\":\"dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVUUzIzUGJLcHpQNHdCVEJzTXJjbWFhUUdUVEtaUGRLdGhWdGZJZkF2VmM0TzJGMkdPQUk4V1hzYWJuUUhWbWI2cTFWTkhEZE9lbkVwUERCQmhRPT0K\",\"changelog\":\"### Changelog\\n\\n- Added new feature X\\n- Fixed bug Y\"}"'