custom-electron-titlebar
custom-electron-titlebar copied to clipboard
Items with generated accelerators are wrongly escaped
On Windows, if you use a generated accelerator with the & character, the entire submenu item's string will get escaped, including the ampersand.
Consider the following strings used as labels:
- Log project
- Log settings
- S&how user data folder in Explorer
- Crash main process
- Crash renderer process
- &Toggle developer tools
The two that have generated accelerators will be escaped, as seen below: