ElectronAutoUpdater.quitAndInstall method
ElectronAutoUpdater › quitAndInstall
Unofficial
Restarts the app and installs the update after it has been downloaded. It should only be called afterupdate-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(): voidReturns: void