diff --git a/electron/Window.vue b/electron/Window.vue index 858d675..900681a 100644 --- a/electron/Window.vue +++ b/electron/Window.vue @@ -307,7 +307,7 @@ } ); - const remoteMain = remote.require("@electron/remote/main"); + const remoteMain = require("@electron/remote/main"); remoteMain.enable(view.webContents); // tab devtools