Env vars to change app name in project.json and set runtime vars?
问题 I need to generate two apps from the same codebase (e.g. "pro" and "lite" versions). There are a lot of questions here about this but none I found involve node or electron . I have only used env in development in very simple ways and after searching around, I haven't seen any mention of being able to use them in a deployed application. So two tasks: 1. Changing the name of the app So, using the package.json file with electron builder , I've tried to change the productName like this: