Set appropriate appMenu submenu role
This commit is contained in:
@@ -125,6 +125,7 @@ function buildMenuTemplate() {
|
|||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
template.unshift({
|
template.unshift({
|
||||||
// first macOS menu is the name of the app
|
// first macOS menu is the name of the app
|
||||||
|
role: 'appMenu',
|
||||||
label: app.name,
|
label: app.name,
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user