Skip to content

ElectronAutoUpdater.on('before-quit-for-update') method

ElectronAutoUpdater › on(‘before-quit-for-update’)

Unofficial

Registers a listener for the given auto updater event.

Signature:

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

Parameters:

Parameter Type Description
event "before-quit-for-update" The event name.
listener (...args: unknown[]) => void The event handler.

Returns: thisThis AutoUpdater instance.