Checks for available updates from the update server.
Optionaloptions: { allowPrerelease?: boolean }Optional configuration for the check
OptionalallowPrerelease?: booleanWhether to include prerelease versions (default: false)
Promise with update availability and version information
Initiates download of an available update.
Promise that resolves when download starts
Quits the application and installs the downloaded update.
Promise that resolves before app quits
Subscribes to update available events.
Function to call when an update is available
Function to unsubscribe from the event
Subscribes to download progress events.
Function to call with download progress updates
Function to unsubscribe from the event
Subscribes to update downloaded events.
Function to call when download is complete
Function to unsubscribe from the event
Subscribes to update error events.
Function to call when an update error occurs
Function to unsubscribe from the event
Auto-updater interface for application updates. Provides methods for checking, downloading, and installing updates.
Source