mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-14 16:07:01 +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 = [
|
||||
{
|
||||
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',
|
||||
|
|
Loading…
Reference in a new issue