Expand description
§tauri-updater-private
Thin wrapper over the official tauri-plugin-updater that enables
in-app updates for Tauri 2 applications distributed from private
GitHub repositories.
It configures the official updater plugin with an
Authorization: Bearer <token> header, embedded into the binary at
build time from the UPDATER_GH_TOKEN environment variable, plus an
Accept: application/octet-stream header for private-repo asset
downloads. The frontend keeps using the official
@tauri-apps/plugin-updater JS API unchanged.
See DESIGN.md for the full design rationale.
Re-exports§
pub use tauri_plugin_updater;
Structs§
- Tauri
Updater Private Builder - Builder for apps that supply the token explicitly (tests, non-CI builds) instead of embedding it from the compile-time environment.
Enums§
- Error
- Errors returned when presetting the Authorization header fails.
Functions§
- updater_
builder - Returns the official updater
tauri_plugin_updater::Builderwith theAuthorization: Bearer <token>header preset from the compile-timeUPDATER_GH_TOKEN, plusAccept: application/octet-stream.
Type Aliases§
- Result
- Convenience alias used by this crate’s public API.