-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing the productName using Configuration options #1250
Comments
In any case please upgrade to 13.6.0 and use new more correct CLI:
Please clarify expectation. |
Thanks for the prompt reply. I was expecting the app name to change if I use the --em.productName=newName option. Let me try the new version. Will get back to you soon. |
Updating to latest electron builder didn't help. I'm using now --config.productName=newName option, however, the app has a name defined in the package.json. I thought it might be due to asar option to be false, but after enabling asar the app name didn't change. |
Where do you expect changed name? |
I'm creating application installers for different environments, so I was expecting not only the installer name to change but also the whole app so that the app installation folder holds the environment name. Alternative solution could be to use different package.json, however it's not really clear how to pass the path to the new package.json. --config=build\new-package.json doesn't seem to work |
Well, in this case you must change not only
You need to set productName only if you want to use space or other such symbols. |
That was very helpful! Thanks a lot |
@develar I am only able to get |
Changing the productName using configuration options doesn't work as expected. I use it the following way --em.productName=newName
Is it the right way to do it? It's also not very well documented.
Thanks
The text was updated successfully, but these errors were encountered: