let's try this a third time

This commit is contained in:
Astra 2018-04-22 00:31:43 -04:00
parent f994ffc2e7
commit 0c94e41785

View file

@ -36,8 +36,9 @@
// 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); win.webContents.executeJavaScript(shared).then(() =>
win.webContents.executeJavaScript(stage2); win.webContents.executeJavaScript(stage2)
);
}); });
function load() { function load() {