setup on page reload

This commit is contained in:
Araxeus
2021-05-12 18:58:29 +03:00
parent 7bc35f4cee
commit 8a07fccf8f
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ let enabled = false;
module.exports = (win) => {
enabled = true;
win.webContents.once("did-finish-load", () => {
win.webContents.on("did-finish-load", () => {
win.webContents.send("did-finish-load");
});
};