Neil Baker

Results 2 comments of Neil Baker

This fixed the problem on my site: Change the filelocation to: $fileLocation = $_SERVER["DOCUMENT_ROOT"].'/SAVE_FOLDER/FILENAME'; $screen->save($fileLocation);

The solution is very simple: 1.) Install @electron/remote 2.) add after mainWindow.loadFile(..) in main,js ``` require("@electron/remote/main").initialize(); require("@electron/remote/main").enable(mainWindow.webContents); ``` 3.) replace the content in renderer.js to: ``` const {BrowserWindow} = require('@electron/remote')...