According to archwikiArch-Wiki
These configuration files only work for the Electron packages in the official repositories and packages that use them. They do not work for packages that bundle their own build of Electron.
However, you can pass the options using .desktop.desktop files, but you will need to do it per application.