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