How to execute main process code from a renderer process in Electron 20+, using the electron-store package as an example.