<commit_before>var about = module.exports = {
  init,
  win: null
}

var config = require('../../config')
var electron = require('electron')

function init () {
  if (about.win) {
    return about.win.show()
  }

  var win = about.win = new electron.BrowserWindow({
    backgroundColor: '#ECECEC',
    center: true,
    fullscreen: false,
    height: 170,
    icon: getIconPath(),
    maximizable: false,
    minimizable: false,
    resizable: false,
    show: false,
    skipTaskbar: true,
    useContentSize: true,
    width: 300
  })

  win.loadURL(config.WINDOW_ABOUT)

  // No menu on the About window
  win.setMenu(null)

  win.webContents.once('did-finish-load', function () {
    win.show()
  })

  win.once('closed', function () {
    about.win = null
  })
}

function getIconPath () {
  return process.platform === 'win32'
    ? config.APP_ICON + '.ico'
    : config.APP_ICON + '.png'
}
<commit_msg>Fix title in About Window<commit_after>var about = module.exports = {
  init,
  win: null
}

var config = require('../../config')
var electron = require('electron')

function init () {
  if (about.win) {
    return about.win.show()
  }

  var win = about.win = new electron.BrowserWindow({
    backgroundColor: '#ECECEC',
    center: true,
    fullscreen: false,
    height: 170,
    icon: getIconPath(),
    maximizable: false,
    minimizable: false,
    resizable: false,
    show: false,
    skipTaskbar: true,
    title: 'About ' + config.APP_WINDOW_TITLE,
    useContentSize: true,
    width: 300
  })

  win.loadURL(config.WINDOW_ABOUT)

  // No menu on the About window
  win.setMenu(null)

  win.webContents.once('did-finish-load', function () {
    win.show()
  })

  win.once('closed', function () {
    about.win = null
  })
}

function getIconPath () {
  return process.platform === 'win32'
    ? config.APP_ICON + '.ico'
    : config.APP_ICON + '.png'
}

{'fraction_non_alphanumeric': 0.14597762386787427, 'fraction_numerical': 0.008524240809802876, 'mean_word_length': 2.888198757763975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5861813', 'n_tokens_mistral': 664, 'n_tokens_neox': 640, 'n_words': 149}