Initial working dev version
This commit is contained in:
parent
a27517fa8b
commit
28c7d2541e
|
@ -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;
|
Loading…
Reference in New Issue