Change macOS "Standard Menu Item Actions" app name
See original GitHub issue- Electron version: 1.7.10
- Electron builder: 19.52.1
- Target: macOS
Given package.json
{
"name": "barcode-to-pc-server",
...
"build": {
"productName": "Barcode to PC server",
...
}
...
}
Expected behavior
I expected to see the package.json>build>productName in the application menu>About/Hide/Quit Is there another property for that?
Actual behavior
I see the package.json>name in the application menu
docs: https://electronjs.org/docs/api/menu#standard-menu-item-actions
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
Use the Choose from Menu action in Shortcuts on Mac
The Choose from Menu action lets you decide what a shortcut should do when it's run. You choose from a predefined list of...
Read more >How to change the app name shown in a Catalyst app?
Tapping on that menu includes the "About MyCoolApp" menu. The About box also shows "MyCoolApp" under the app icon. Other standard default menus...
Read more >How to connect code to Mac OS menus (File, Edit,...)
I am new to Mac OS programming. I have an Swift app I would like to create and the user will need to...
Read more >The menu bar - Components - Human Interface Guidelines
Pressing Option changes Quit YourAppName to Quit and Keep Windows. Use the same short app name you supply for the About item. Display...
Read more >Accessing Actions Using Menu Elements - Apple Developer
In this tutorial, you'll add these actions to the app's menu bar. ... Apps built with Mac Catalyst automatically supply an Edit >...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In your main.js (Main Electron file) towards the top have
app.setName("Your New Name");
https://electronjs.org/docs/api/app#appsetnamename
If that doesn’t work I set productName at the top of my package.json also. Outside of build
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.