
// The system-boot loads everything Electron specific. The tests will have to
// stub these when they are used by the engine.
console.log('> Booting System')

// === Electron ===
global.electron = require('electron');
global.remote = electron.remote;
global.app = electron.remote.app;
global.appPath = app.getAppPath();
global.fs = electron.remote.require('fs');
global.ipcRenderer = electron.ipcRenderer;

// === Configuration ===
// We pull the 'story' and 'debug' properties from the URL parameters. This
// seems dirty, not sure how else to pass simple properties like this though.
global.Configuration = require('query-string').parse(window.location.search);
