1
My question is this: Is it possible to call a dialog.showOpenWindow out of the main.js file? I would like to perform a function that by clicking a specific button of my Browserwindow opens showOpenWindow and returns me the path of the specified file. I tried to do it outside main.js but javascript did not recognize the Electron commands. There’s some way to do it?