Capacitor writefile does not work with Electron

It looks like there is a community plugin that has been designed to work with Electron.