I have a couple scripts set up in package.json to switch between command line options for my electron app
"scripts": {
"start": "cross-env NODE_ENV=development electron . kira",
"kira": "cross-env NODE_ENV=development electron . kira",
"mia": "cross-env NODE_ENV=development electron . mia",
"cybertech": "cross-env NODE_ENV=development electron . cybertech",
"package": "node ./scripts/package.js",
},
However after packaging I am not sure how to use these command line switches. Ideally I would like to set up a command like npm run package-cybertech
that would set up My_App.exe to execute with the "cybertech" flag added.
Thanks for the help!