new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Electron · API · all subjects

autoupdater/events

6 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

autoUpdater error event

The 'error' event is emitted when there is an error while updating. It returns an error parameter of type Error.

autoUpdater checking-for-update event

The 'checking-for-update' event is emitted when checking for an available update has started.

autoUpdater update-available event

The 'update-available' event is emitted when there is an available update. The update is downloaded automatically.

autoUpdater update-not-available event

The 'update-not-available' event is emitted when there is no available update.

autoUpdater update-downloaded event

The 'update-downloaded' event is emitted when an update has been downloaded. It returns: event (Event), releaseNotes (string), releaseName (string), releaseDate (Date), and updateURL (string). With Squirrel.Windows only releaseName is available. It is not strictly necessary to handle this event; a successfully downloaded update will still be applied the next time the application starts.

autoUpdater before-quit-for-update event

The 'before-quit-for-update' event is emitted after a user calls quitAndInstall(). When this API is called, the before-quit event is not emitted before all windows are closed. Listen to this event if you wish to perform actions before windows are closed while a process is quitting, in addition to listening to before-quit.

Give your agent this brain