Fix the menu of default_app.
This commit is contained in:
parent
23ebfa2955
commit
c88673d6ba
1 changed files with 5 additions and 5 deletions
|
@ -163,11 +163,11 @@ app.on('ready', function() {
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Open',
|
label: 'Open',
|
||||||
accelerator: 'Command+O',
|
accelerator: 'Ctrl+O',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Close',
|
label: 'Close',
|
||||||
accelerator: 'Command+W',
|
accelerator: 'Ctrl+W',
|
||||||
click: function() { mainWindow.close(); }
|
click: function() { mainWindow.close(); }
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -177,16 +177,16 @@ app.on('ready', function() {
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Reload',
|
label: 'Reload',
|
||||||
accelerator: 'Command+R',
|
accelerator: 'Ctrl+R',
|
||||||
click: function() { mainWindow.restart(); }
|
click: function() { mainWindow.restart(); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Enter Fullscreen',
|
label: 'Enter Fullscreen',
|
||||||
click: function() { mainWindow.setFullscreen(true); }
|
click: function() { mainWindow.setFullScreen(true); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Toggle DevTools',
|
label: 'Toggle DevTools',
|
||||||
accelerator: 'Alt+Command+I',
|
accelerator: 'Alt+Ctrl+I',
|
||||||
click: function() { mainWindow.toggleDevTools(); }
|
click: function() { mainWindow.toggleDevTools(); }
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue