<commit_before>/**
 * @module drivshare-gui/main
 */

'use strict';

var app = require('app');
var BrowserWindow = require('browser-window');
var main = null;
var Tray = require('tray');

app.on('ready', function() {
  var ipc = require('electron-safe-ipc/host');
  var dialog = require('dialog');
  var ApplicationMenu = require('./lib/menu');
  var menu = new ApplicationMenu();
  var trayIcon = null;
  var trayIconPath = __dirname + '/imgs/icon.png';

  main = new BrowserWindow({
    width: 620,
    height: 720,
    skip
  });

  menu.render();
  main.loadUrl('file://' + __dirname + '/driveshare.html');

  main.on('close', function(e) {
    if (process.platform === 'darwin') {
      if (!main.forceClose) {
        e.preventDefault();
        main.hide();
      }<commit_msg>removing erronous code fragement from main.js<commit_after>/**
 * @module drivshare-gui/main
 */

'use strict';

var app = require('app');
var BrowserWindow = require('browser-window');
var main = null;
var Tray = require('tray');

app.on('ready', function() {
  var ipc = require('electron-safe-ipc/host');
  var dialog = require('dialog');
  var ApplicationMenu = require('./lib/menu');
  var menu = new ApplicationMenu();
  var trayIcon = null;
  var trayIconPath = __dirname + '/imgs/icon.png';

  main = new BrowserWindow({
    width: 620,
    height: 720
  });

  menu.render();
  main.loadUrl('file://' + __dirname + '/driveshare.html');

  main.on('close', function(e) {
    if (process.platform === 'darwin') {
      if (!main.forceClose) {
        e.preventDefault();
        main.hide();
      }
{'fraction_non_alphanumeric': 0.17861635220125785, 'fraction_numerical': 0.007547169811320755, 'mean_word_length': 3.3469945355191255, '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': '6662553', 'n_tokens_mistral': 536, 'n_tokens_neox': 510, 'n_words': 124}