Use CommandOrControl to replace Command in specs windows.
This commit is contained in:
parent
8237edcf0d
commit
c8d0968e00
1 changed files with 5 additions and 5 deletions
10
spec/main.js
10
spec/main.js
|
@ -47,7 +47,7 @@ app.on('finish-launching', function() {
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Quit',
|
label: 'Quit',
|
||||||
accelerator: 'Command+Q',
|
accelerator: 'CommandOrControl+Q',
|
||||||
click: function(item, window) { app.quit(); }
|
click: function(item, window) { app.quit(); }
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -57,11 +57,11 @@ app.on('finish-launching', function() {
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Open',
|
label: 'Open',
|
||||||
accelerator: 'Command+O',
|
accelerator: 'CommandOrControl+O',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Close',
|
label: 'Close',
|
||||||
accelerator: 'Command+W',
|
accelerator: 'CommandOrControl+W',
|
||||||
click: function(item, window) { window.close(); }
|
click: function(item, window) { window.close(); }
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -71,7 +71,7 @@ app.on('finish-launching', function() {
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Reload',
|
label: 'Reload',
|
||||||
accelerator: 'Command+R',
|
accelerator: 'CommandOrControl+R',
|
||||||
click: function(item, window) { window.restart(); }
|
click: function(item, window) { window.restart(); }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -80,7 +80,7 @@ app.on('finish-launching', function() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Toggle DevTools',
|
label: 'Toggle DevTools',
|
||||||
accelerator: 'Alt+Command+I',
|
accelerator: 'Alt+CommandOrControl+I',
|
||||||
click: function(item, window) { window.toggleDevTools(); }
|
click: function(item, window) { window.toggleDevTools(); }
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue