Skip to content
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

Allowing setting the display name to a different value from the app name #1479

Open
3 tasks done
benpigchu opened this issue Mar 1, 2023 · 1 comment
Open
3 tasks done
Labels
enhancement Feature request

Comments

@benpigchu
Copy link

benpigchu commented Mar 1, 2023

Preflight Checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • 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.

@benpigchu benpigchu added the enhancement Feature request label Mar 1, 2023
@welcome
Copy link

welcome bot commented Mar 1, 2023

👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request
Projects
None yet
Development

No branches or pull requests

1 participant