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): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| event | "before-quit-for-update" | The event name. |
| listener | (...args: unknown[]) => void | The event handler. |
Returns: this — This AutoUpdater instance.