diff --git a/BetterDiscordApp.js b/BetterDiscordApp.js index e69de29..c9dfd87 100644 --- a/BetterDiscordApp.js +++ b/BetterDiscordApp.js @@ -0,0 +1,24 @@ +/* BetterDiscordApp Main + * Version: 1.0 + * Author: Jiiks | http://jiiks.net + * Date: 25/08/2015 - 08:12 + * https://github.com/Jiiks/BetterDiscordApp + */ + +var _helpers = require('./bda/helper.js'); +var _helper; +var _mainWindow; +var _version = "1.0.0"; + +function BetterDiscordApp(mainWindow) { + _mainWindow = mainWindow; + _helper = new _helpers.Helper(mainWindow); + _helper.getWeb().on('did-finish-load', function() { init(); }); +} + +function init() { + _helper.log("v" + _version + " initialized."); + _helper.injectStylesheet("https://raw.githubusercontent.com/Jiiks/BetterDiscordApp/master/css/main.css"); +} + +exports.BetterDiscordApp = BetterDiscordApp; \ No newline at end of file