diff --git a/imagelab_electron/main.js b/imagelab_electron/main.js index 81e334b..7a7073c 100644 --- a/imagelab_electron/main.js +++ b/imagelab_electron/main.js @@ -5,6 +5,9 @@ console.log("main process working"); const electron = require("electron"); const path = require("path"); +const remoteMain= require('@electron/remote/main'); +remoteMain.initialize(); + const { app, BrowserWindow, Menu, shell } = electron; let splash;