My main process looks at the command line to see if there is an argument. This works great while doing development, but after packaging with electron-forge, it always acts as if none are specified. open -a <app-name> <argument> should pass the arguments to the app. The app starts, but behavior (and logging) indicates no argument was received.
Any help appreciated. If I can't pass arguments through, I'll have to abandon electron.