mirror of
https://github.com/electron/electron.git
synced 2026-01-25 15:28:11 -05:00
Use CommandOrControl to replace Command in specs windows.
This commit is contained in:
10
spec/main.js
10
spec/main.js
@@ -47,7 +47,7 @@ app.on('finish-launching', function() {
|
||||
submenu: [
|
||||
{
|
||||
label: 'Quit',
|
||||
accelerator: 'Command+Q',
|
||||
accelerator: 'CommandOrControl+Q',
|
||||
click: function(item, window) { app.quit(); }
|
||||
},
|
||||
],
|
||||
@@ -57,11 +57,11 @@ app.on('finish-launching', function() {
|
||||
submenu: [
|
||||
{
|
||||
label: 'Open',
|
||||
accelerator: 'Command+O',
|
||||
accelerator: 'CommandOrControl+O',
|
||||
},
|
||||
{
|
||||
label: 'Close',
|
||||
accelerator: 'Command+W',
|
||||
accelerator: 'CommandOrControl+W',
|
||||
click: function(item, window) { window.close(); }
|
||||
},
|
||||
]
|
||||
@@ -71,7 +71,7 @@ app.on('finish-launching', function() {
|
||||
submenu: [
|
||||
{
|
||||
label: 'Reload',
|
||||
accelerator: 'Command+R',
|
||||
accelerator: 'CommandOrControl+R',
|
||||
click: function(item, window) { window.restart(); }
|
||||
},
|
||||
{
|
||||
@@ -80,7 +80,7 @@ app.on('finish-launching', function() {
|
||||
},
|
||||
{
|
||||
label: 'Toggle DevTools',
|
||||
accelerator: 'Alt+Command+I',
|
||||
accelerator: 'Alt+CommandOrControl+I',
|
||||
click: function(item, window) { window.toggleDevTools(); }
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user