can i do this now?

This commit is contained in:
Astra 2018-04-22 05:41:55 -04:00
parent 924684bfae
commit afa6312b6f

View file

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