mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
add a dummy share option to the menu
This commit is contained in:
parent
6e8b54bc65
commit
e3c9860f64
1 changed files with 12 additions and 5 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue