_notifyUser(message, detail, isError) {
    this.lastOptions = this.lastOptions || {};
    if (!this.lastOptions.notify) {
      return;
    }
    const dialogOpts = {
      type: isError ? 'error' : 'info',
      title: 'ARC updater',
      message: message,
      detail: detail
    };
    if (!isError) {
      const imgPath = path.join(__dirname, '..', '..', 'assets', 'icon.iconset',
        'icon_512x512.png');
      dialogOpts.icon = nativeImage.createFromPath(imgPath);
    }
    dialog.showMessageBox(dialogOpts);
  }
/**
   * Notofies user about update event.
   *
   * @param {String} message Message to display.
   * @param {String} detail MacOS only. Additional detail message.
   * @param {Boolean} isError Should be true when notifying about error.
   */
Notofies user about update event.
@param {String} message Message to display.
@param {String} detail MacOS only. Additional detail message.
@param {Boolean} isError Should be true when notifying about error.
Notofies user about update event . @param { String } message Message to display . @param { String } detail MacOS only . Additional detail message . @param { Boolean } isError Should be true when notifying about error .
_notifyUser(message, detail, isError) {
    this.lastOptions = this.lastOptions || {};
    if (!this.lastOptions.notify) {
      return;
    }
    const dialogOpts = {
      type: isError ? 'error' : 'info',
      title: 'ARC updater',
      message: message,
      detail: detail
    };
    if (!isError) {
      const imgPath = path.join(__dirname, '..', '..', 'assets', 'icon.iconset',
        'icon_512x512.png');
      dialogOpts.icon = nativeImage.createFromPath(imgPath);
    }
    dialog.showMessageBox(dialogOpts);
  }
_notifyUser ( message , detail , isError ) { this . lastOptions = this . lastOptions || { } ; if ( ! this . lastOptions . notify ) { return ; } const dialogOpts = { type : isError ? 'error' : 'info' , title : 'ARC updater' , message : message , detail : detail } ; if ( ! isError ) { const imgPath = path . join ( __dirname , '..' , '..' , 'assets' , 'icon.iconset' , 'icon_512x512.png' ) ; dialogOpts . icon = nativeImage . createFromPath ( imgPath ) ; } dialog . showMessageBox ( dialogOpts ) ; }
Notofies user about update event.
Notofies user about update event .