var app = require('app'); in my render process but I keep getting this error “Uncaught Error: Cannot find module ‘app’”.
Is the app module available in the render process or is it limited to only being used in the main process?
The reason I am using the app module is because I want to use
app.getPath(userData); so I can work with my config file. I read Electron App Database File Structure/Code Structure and it looks like I should be trying to keep as much out of the main process as possible. Maybe I am missing something?