can i do this now?

This commit is contained in:
Astra 2018-04-22 05:41:55 -04:00
parent 924684bfae
commit afa6312b6f
1 changed files with 2 additions and 3 deletions

View File

@ -36,9 +36,8 @@
// inject stage 2 once Discord is done loading // inject stage 2 once Discord is done loading
win.webContents.on('dom-ready', () => { win.webContents.on('dom-ready', () => {
win.webContents.executeJavaScript(shared).then(() => win.webContents.executeJavaScript(shared);
win.webContents.executeJavaScript(stage2) win.webContents.executeJavaScript(stage2);
);
}); });
function load() { function load() {