Skip to content

ElectronAutoUpdater.on('update-available') method

ElectronAutoUpdater › on(‘update-available’)

Unofficial

Registers a listener for the update-available event.

Signature:

on(event: "update-available", listener: (...args: unknown[]) => void): this

Parameters:

Parameter Type Description
event "update-available"
listener (...args: unknown[]) => void

Returns: this