Allowing setting the display name to a different value from the app name
- Dominant language
- TypeScript
- Stars
- 302
- Forks
- 42
- Avg merge
- 5h 40m
- Merged PRs (30d)
- 7
Description
### Preflight Checklist
* [x] I have read the [contribution documentation](https://github.com/electron/electron-packager/blob/main/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [code of conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project follows, as appropriate.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
### Problem Description
Currently setting `name` or `executableName` in config will change **both** name of output file and the name displayed in the system (docker and toolbar on macOS, taskbar on Windows). We need to make the names in these two use cases different.
### Proposed Solution
Add a `displayName` field to the config. On macOS this value will be set to `CFBundleName` and `CFBundleDisplayName` in `info.plist`. On Windows this value will be set to `FileDescription` field metadata of the executable. This field will fallback to the `name` field if not specified.
### Alternatives Considered
Allow the `extendInfo` config field to override `CFBundleName` and `CFBundleDisplayName` on macOS, like the `win32metadata` config field on Windows. This is the solution described in #387.
### Additional Information
I do not know how to set the display name on Linux. Need more info on this.
Contributor guide
Assessment
This issue has not been assessed yet.