Mailspring/packages/client-app/menus/darwin.json
Evan Morikawa e883122ccf [client-app] remove ability to run specs
Summary:
This removes specs from the build production version.

One of the major issues with the windows build was that one of the package
specs included a .node compiled file that the codesigner attempte to sign,
but couldn't find for some reason.

In testing, removing the specs from the build prod version fixed this.

While we could just remove the one offending test, I think we should just
remove the whole suite from the build version. That'd save in the number
of files we have to ship, save download time, save build time, and have
less chance for some symlinked issue failling a build in the future.

Test Plan: Manual

Reviewers: khamidou, halla, juan, spang

Reviewed By: juan, spang

Differential Revision: https://phab.nylas.com/D4206
2017-03-13 15:47:58 -07:00

123 lines
5 KiB
JSON

{
"menu": [
{
"label": "Nylas Mail",
"submenu": [
{ "label": "About Nylas Mail", "command": "application:about" },
{ "type": "separator" },
{ "label": "Preferences", "command": "application:open-preferences" },
{ "label": "Change Theme...", "command": "window:launch-theme-picker" },
{ "label": "Install Theme...", "command": "application:install-package" },
{ "type": "separator" },
{ "label": "Add Account...", "command": "application:add-account", "args": {"source": "Menu"}},
{ "label": "Add Custom IMAP Account...", "command": "application:add-account", "args": {"accountType": "imap", "source": "Menu"}},
{ "label": "VERSION", "enabled": false },
{ "label": "Restart and Install Update", "command": "application:install-update", "visible": false},
{ "label": "Check for Update", "command": "application:check-for-update", "visible": false},
{ "label": "Downloading Update", "enabled": false, "visible": false},
{ "type": "separator" },
{ "type": "separator" },
{ "label": "Services", "submenu": [] },
{ "type": "separator" },
{ "label": "Hide Nylas Mail", "command": "application:hide" },
{ "label": "Hide Others", "command": "application:hide-other-applications" },
{ "label": "Show All", "command": "application:unhide-all-applications" },
{ "type": "separator" },
{ "label": "Quit", "command": "application:quit" }
]
},
{
"label": "File",
"submenu": [
{ "label": "New Message", "command": "application:new-message" },
{ "type": "separator" },
{ "label": "Close Window", "command": "window:close" },
{ "type": "separator" },
{ "label": "Print Current Thread", "command": "core:print-thread" }
]
},
{
"label": "Edit",
"submenu": [
{ "label": "Undo", "command": "core:undo" },
{ "label": "Redo", "command": "core:redo" },
{ "type": "separator" },
{ "label": "Cut", "command": "core:cut" },
{ "label": "Copy", "command": "core:copy" },
{ "label": "Paste", "command": "core:paste" },
{ "label": "Paste and Match Style", "command": "core:paste-and-match-style" },
{ "label": "Select All", "command": "core:select-all" },
{ "type": "separator" },
{ "label": "Find", "submenu": [
{ "label": "Find in Thread...", "command": "core:find-in-thread" },
{ "label": "Find Next", "command": "core:find-in-thread-next" },
{ "label": "Find Previous", "command": "core:find-in-thread-previous" }
] }
]
},
{
"label": "View",
"submenu": [
{ "type": "separator", "id": "mailbox-navigation"},
{ "label": "Go to Inbox", "command": "navigation:go-to-inbox" },
{ "label": "Go to Starred", "command": "navigation:go-to-starred" },
{ "label": "Go to Sent", "command": "navigation:go-to-sent" },
{ "label": "Go to Drafts", "command": "navigation:go-to-drafts" },
{ "label": "Go to All mail", "command": "navigation:go-to-all" },
{ "type": "separator" },
{ "label": "Enter Full Screen", "command": "window:toggle-full-screen" },
{ "label": "Exit Full Screen", "command": "window:toggle-full-screen", "visible": false }
]
},
{
"label": "Thread",
"submenu": [
{ "label": "Reply", "command": "core:reply" },
{ "label": "Reply All", "command": "core:reply-all" },
{ "label": "Forward", "command": "core:forward" },
{ "type": "separator" },
{ "label": "Star", "command": "core:star-item" },
{ "type": "separator", "id": "thread-actions" },
{ "label": "Remove from view", "command": "core:remove-from-view" },
{ "type": "separator", "id": "view-actions" }
]
},
{
"label": "Developer",
"submenu": [
{ "label": "Run with Debug Flags", "type": "checkbox", "command": "application:toggle-dev" },
{ "type": "separator" },
{ "label": "Reload", "command": "window:reload" },
{ "label": "Toggle Developer Tools", "command": "window:toggle-dev-tools" },
{ "label": "Toggle Component Regions", "command": "window:toggle-component-regions" },
{ "label": "Toggle Screenshot Mode", "command": "window:toggle-screenshot-mode" },
{ "type": "separator" },
{ "label": "Create a Plugin...", "command": "application:create-package" },
{ "label": "Install a Plugin...", "command": "application:install-package" },
{ "type": "separator" },
{ "label": "Open Detailed Logs", "command": "window:open-errorlogger-logs" }
]
},
{
"label": "Window",
"submenu": [
{ "label": "Minimize", "command": "application:minimize" },
{ "label": "Zoom", "command": "application:zoom" },
{ "type": "separator", "id": "window-list-separator" },
{ "type": "separator" },
{ "label": "Bring All to Front", "command": "application:bring-all-windows-to-front" }
]
},
{
"label": "Help",
"submenu": [
{ "label": "Nylas Mail Help", "command": "application:view-help" }
]
}
]
}