Is there a reason we specify the OS for electron-builder in
package.json? I believe electron-builder should detect the OS it is building for by default. It’s a bit cumbersome to remember to add electron:windows, electron:mac etc. when building cross-platform, especially using a CI tool.
I’d propose merging all three to:
"electron:build": "npm run build:prod && electron-builder build",