<commit_before>var pathModule = require('path')
var modes = require('./modes')

module.exports = function (options) {
  var menubarOpts = {
    dir: pathModule.resolve(__dirname, '..', '..', 'app'),
    width: 500,
    height: 500,
    'window-position': 'topRight'
  }

  menubarOpts.icon = pathModule.resolve(menubarOpts.dir, 'Icon-Template.png')
<commit_msg>open the window in the center of the active screen<commit_after>var pathModule = require('path')
var modes = require('./modes')

module.exports = function (options) {
  var menubarOpts = {
    dir: pathModule.resolve(__dirname, '..', '..', 'app'),
    width: 500,
    height: 500,
    'window-position': 'center'
  }

  menubarOpts.icon = pathModule.resolve(menubarOpts.dir, 'Icon-Template.png')

{'fraction_non_alphanumeric': 0.16380449141347425, 'fraction_numerical': 0.015852047556142668, 'mean_word_length': 3.986842105263158, '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': '6494718', 'n_tokens_mistral': 263, 'n_tokens_neox': 252, 'n_words': 55}