productName in the electron builder is not applied.
Tuditi opened this issue · comments
- Electron-Builder Version: 24.13.3
- Node Version: 18.16.0
- Electron Version: 28.2.7
- Electron Type (current, beta, nightly): current
- Target: Linux
Specifying the productName
in the Configuration file doesn't have any impact. productName
specified in the package.json is used.
(ref: https://www.electron.build/configuration/configuration#configuration)
Electron builder config:
When logging through the build step we get the following name:
Bloom - Alpha
However, when the app opens we see the productName
that was specified in package.json.
We have a script that solves this issue in the CI by replacing the productName in the package.json before the app is built. It would be good if the documentation would be updated accordingly or if the issue would be fixed in general for future development.