mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add 'Quit' to spec window's menu.
This commit is contained in:
12
spec/main.js
12
spec/main.js
@@ -42,7 +42,17 @@ app.on('window-all-closed', function() {
|
||||
app.on('finish-launching', function() {
|
||||
var template = [
|
||||
{
|
||||
label: 'File',
|
||||
label: 'Atom',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Quit',
|
||||
accelerator: 'Command+Q',
|
||||
click: function(item, window) { app.quit(); }
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Window',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Open',
|
||||
|
||||
Reference in New Issue
Block a user