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