add a dummy share option to the menu

This commit is contained in:
Stephen Birarda 2016-01-15 13:46:58 -08:00
parent 6e8b54bc65
commit e3c9860f64

View file

@ -315,7 +315,7 @@ function buildMenuArray(serverState) {
======= =======
var menuArray = [ var menuArray = [
{ {
label: "Server - Stopped", label: 'Server - Stopped',
enabled: false enabled: false
}, },
{ {
@ -330,26 +330,33 @@ function buildMenuArray(serverState) {
type: 'separator' type: 'separator'
}, },
{ {
label: "Start Server", label: 'Start Server',
click: function() { homeServer.restart(); } click: function() { homeServer.restart(); }
}, },
{ {
label: "Stop Server", label: 'Stop Server',
visible: false, visible: false,
click: function() { homeServer.stop(); } click: function() { homeServer.stop(); }
}, },
{ {
label: "Settings", label: 'Settings',
click: function() { shell.openExternal('http://localhost:40100/settings'); }, click: function() { shell.openExternal('http://localhost:40100/settings'); },
enabled: false enabled: false
}, },
{ {
label: "View Logs", label: 'View Logs',
click: function() { openFileBrowser(logPath); } click: function() { openFileBrowser(logPath); }
}, },
{ {
type: 'separator' type: 'separator'
}, },
{
label: 'Share',
click: function() { }
},
{
type: 'separator'
},
{ {
label: 'Quit', label: 'Quit',
accelerator: 'Command+Q', accelerator: 'Command+Q',