start(settings, skipAppUpdate) {
    log.info('Initializing Auto Updater.');
    if (settings.releaseChannel) {
      if (this.isValidChannel(settings.releaseChannel)) {
        log.info('Setting auto updater channel to ' + settings.releaseChannel);
        autoUpdater.channel = settings.releaseChannel;
      }
    }
    if (settings.autoUpdate === false) {
      log.debug('Auto Updater is disabled. Manual requests will still download the update.');
      autoUpdater.autoDownload = false;
      return;
    }
    if (!skipAppUpdate) {
      setTimeout(() => this.check(), 5000);
    }
  }
/**
   * Checks for app update.
   * This function **must** be called after the app ready event.
   *
   * @param {Object} settings Current application configuration.
   * @param {Boolean} skipAppUpdate When set it skips application update check
   */
Checks for app update.
This function **must** be called after the app ready event.

@param {Object} settings Current application configuration.
@param {Boolean} skipAppUpdate When set it skips application update check
Checks for app update . This function ** must ** be called after the app ready event . @param { Object } settings Current application configuration . @param { Boolean } skipAppUpdate When set it skips application update check
start(settings, skipAppUpdate) {
    log.info('Initializing Auto Updater.');
    if (settings.releaseChannel) {
      if (this.isValidChannel(settings.releaseChannel)) {
        log.info('Setting auto updater channel to ' + settings.releaseChannel);
        autoUpdater.channel = settings.releaseChannel;
      }
    }
    if (settings.autoUpdate === false) {
      log.debug('Auto Updater is disabled. Manual requests will still download the update.');
      autoUpdater.autoDownload = false;
      return;
    }
    if (!skipAppUpdate) {
      setTimeout(() => this.check(), 5000);
    }
  }
start ( settings , skipAppUpdate ) { log . info ( 'Initializing Auto Updater.' ) ; if ( settings . releaseChannel ) { if ( this . isValidChannel ( settings . releaseChannel ) ) { log . info ( 'Setting auto updater channel to ' + settings . releaseChannel ) ; autoUpdater . channel = settings . releaseChannel ; } } if ( settings . autoUpdate === false ) { log . debug ( 'Auto Updater is disabled. Manual requests will still download the update.' ) ; autoUpdater . autoDownload = false ; return ; } if ( ! skipAppUpdate ) { setTimeout ( ( ) => this . check ( ) , 5000 ) ; } }
Checks for app update.
Checks for app update .