Skip to content

ElectronAutoUpdater.quitAndInstall method

ElectronAutoUpdater › quitAndInstall

Unofficial

Restarts the app and installs the update after it has been downloaded. It should only be called after update-downloaded has been emitted.

Under the hood calling autoUpdater.quitAndInstall() will close all application windows first, and automatically call app.quit() after all windows have been closed.

Signature:

quitAndInstall(): void

Returns: void