actually load the extension

This commit is contained in:
Astra 2018-05-07 23:11:46 -04:00
parent 2b07b1c9f1
commit f16c6239c0
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@
function load() {
var branch = require('path').basename(data).substr(7);
//win.loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
electron.BrowserWindow.addExtension(data + 'crxpwn');
electron.getCurrentWindow().loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
}