setAutoUpdaterState
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / main/state/appState / setAutoUpdaterState
Function: setAutoUpdaterState()
setAutoUpdaterState(
status:"error"|"available"|"checking"|"downloaded"|"downloading"|"idle",updateDownloaded:boolean,options?:StateUpdateOptions):void
Defined in: main/state/appState.ts:285
Updates the paired auto-updater status and downloaded flag.
Parametersβ
statusβ
"error" | "available" | "checking" | "downloaded" | "downloading" | "idle"
Auto-updater lifecycle status.
updateDownloadedβ
boolean
True when an update is ready to install.
options?β
StateUpdateOptions
Additional metadata forwarded to the state manager.
Returnsβ
void