From c8d0968e0082201a02f4c145f3646caac6e99ea7 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 29 Nov 2013 16:14:44 +0800 Subject: [PATCH] Use CommandOrControl to replace Command in specs windows. --- spec/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/main.js b/spec/main.js index d89365124a..3c747d435a 100644 --- a/spec/main.js +++ b/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(); } }, ]