quitAndInstall

abstract fun quitAndInstall()(source)

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.

!NOTE It is not strictly necessary to call this function to apply an update, as a successfully downloaded update will always be applied the next time the application starts.