Skip to main content

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