Electron changed their nodeIntegration default, leading app.js erroring with something like "Require not found".
The fix is simple
In main.js add nodeIntegration: true, to BrowserWindow.webPreferences
The webPreferences object also has to be be added to app.js Photon.Dialog(,{})
Electron changed their nodeIntegration default, leading app.js erroring with something like "Require not found".
The fix is simple
In main.js add nodeIntegration: true, to BrowserWindow.webPreferences
The webPreferences object also has to be be added to app.js Photon.Dialog(,{})