mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
actually load the extension
This commit is contained in:
parent
2b07b1c9f1
commit
f16c6239c0
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@
|
||||||
function load() {
|
function load() {
|
||||||
var branch = require('path').basename(data).substr(7);
|
var branch = require('path').basename(data).substr(7);
|
||||||
//win.loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
|
//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');
|
electron.getCurrentWindow().loadURL('https://' + (branch && branch != 'development' ? branch + '.' : '') + 'discordapp.com/channels/@me');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue