<commit_before>"use strict"

const electron = require('electron')
// Module to control application life.
const app = electron.app
// Module to create native browser window.
const BrowserWindow = electron.BrowserWindow
// Module to create tray icon
const Tray = electron.Tray 
// Module to create context meny for tray icon
const Menu = electron.Menu 

const shell = electron.shell

const path = require('path')
const url = require('url')

// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let mainWindow, settingsWindow, aboutWindow, splashScreen, tray, contextMenu

function createSplashScreen () {
    splashScreen = new BrowserWindow({width: 640,
                                      height: 480, 
                                      frame: false, 
                                      show: false<commit_msg>refactor main.js<commit_after>"use strict"

const electron = require('electron')
// Module to control application life.
const app = electron.app
// Module to create native browser window.
const BrowserWindow = electron.BrowserWindow
// Module to create tray icon
const Tray = electron.Tray 
// Module to create context meny for tray icon
const Menu = electron.Menu 

const shell = electron.shell

const path = require('path')
const url = require('url')

// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let mainWindow, settingsWindow, splashScreen, tray, contextMenu

function createSplashScreen () {
    splashScreen = new BrowserWindow({width: 640,
                                      height: 480, 
                                      frame: false, 
                                      show: false
{'fraction_non_alphanumeric': 0.07205240174672489, 'fraction_numerical': 0.006550218340611353, 'mean_word_length': 2.566147859922179, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3650868', 'n_tokens_mistral': 452, 'n_tokens_neox': 415, 'n_words': 185}