setupAutoUpdater
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / main/updater/setupAutoUpdater / setupAutoUpdater
Function: setupAutoUpdater()
setupAutoUpdater(
mainWindow:any,providedAutoUpdater?:any):void
Defined in: main/updater/setupAutoUpdater.js:17
Configures electron-updater for the application, wiring all event handlers to relay progress to the renderer. The logic matches the historic main.js implementation so behaviour and logging stay consistent.
Parametersβ
mainWindowβ
any
BrowserWindow receiving updater events.
providedAutoUpdater?β
any
Optional pre-resolved autoUpdater (used by tests).
Returnsβ
void