This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var app = require('app'); | |
| var BrowserWindow = require('browser-window'); | |
| var glob = require('glob'); | |
| var mainWindow = null; | |
| // Require and setup each JS file in the main-process dir | |
| glob('main-process/**/*.js', function (error, files) { | |
| if (error) return console.log(error); | |
| files.forEach(function (file) { |