<commit_before><commit_msg>adds gui core<commit_after>var gui = require('nw.gui')
	,	appGui = {};

// Store the GUI window
appGUI.getGUI = gui.Window.get();

// close the App
appGUI.close = function() {
  var guiWin = this.getGUI;
  guiWin.close(true);
}

// minimize the App
appGUI.minimize = function() {
  var guiWin = this.getGUI;
  guiWin.minimize();
}

// maximize the App
appGUI.maximize = function() {
  var guiWin = this.getGUI;
  guiWin.maximize();
}

// open dev tools
appGUI.openDevTools = function() {
    var guiWin = gui.Window.get();
    guiWin.showDevTools();
}

{'fraction_non_alphanumeric': 0.153713298791019, 'fraction_numerical': 0.0, 'mean_word_length': 3.53125, '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': '3178907', 'n_tokens_mistral': 227, 'n_tokens_neox': 217, 'n_words': 48}