_downloadReadyHandler(info) {
    log.debug('Update download ready', info);
    this.state = 6;
    this.lastInfoObject = info;
    this.emit('notify-windows', 'update-downloaded', info);
    this.emit('status-changed', 'update-downloaded');
    if (this.lastOptions.notify) {
      setImmediate(() => autoUpdater.quitAndInstall());
    }
  }
/**
   * Emmited when new version is downloaded.
   *
   * @param {UpdateInfo} info Update info object. See class docs for details.
   */
Emmited when new version is downloaded.
@param {UpdateInfo} info Update info object. See class docs for details.
Emmited when new version is downloaded . @param { UpdateInfo } info Update info object . See class docs for details .
_downloadReadyHandler(info) {
    log.debug('Update download ready', info);
    this.state = 6;
    this.lastInfoObject = info;
    this.emit('notify-windows', 'update-downloaded', info);
    this.emit('status-changed', 'update-downloaded');
    if (this.lastOptions.notify) {
      setImmediate(() => autoUpdater.quitAndInstall());
    }
  }
_downloadReadyHandler ( info ) { log . debug ( 'Update download ready' , info ) ; this . state = 6 ; this . lastInfoObject = info ; this . emit ( 'notify-windows' , 'update-downloaded' , info ) ; this . emit ( 'status-changed' , 'update-downloaded' ) ; if ( this . lastOptions . notify ) { setImmediate ( ( ) => autoUpdater . quitAndInstall ( ) ) ; } }
Emmited when new version is downloaded.
Emmited when new version is downloaded .