From 9a9f0035c2288f29be7ad42e9b1879b67e5ac2fe Mon Sep 17 00:00:00 2001 From: sota1235 Date: Sat, 22 Apr 2017 11:51:06 +0900 Subject: [PATCH] modify: add label for quit button on macOS --- lib/main-menu.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/main-menu.js b/lib/main-menu.js index dc273551..d96f592f 100644 --- a/lib/main-menu.js +++ b/lib/main-menu.js @@ -13,30 +13,31 @@ var boost = OSX submenu: [ { label: 'About Boostnote', - selector: 'orderFrontStandardAboutPanel:' + selector: 'orderFrontStandardAboutPanel:', }, { - type: 'separator' + type: 'separator', }, { label: 'Hide Boostnote', accelerator: 'Command+H', - selector: 'hide:' + selector: 'hide:', }, { label: 'Hide Others', accelerator: 'Command+Shift+H', - selector: 'hideOtherApplications:' + selector: 'hideOtherApplications:', }, { label: 'Show All', - selector: 'unhideAllApplications:' + selector: 'unhideAllApplications:', }, { - type: 'separator' + type: 'separator', }, { - role: 'quit' + label: 'Quit Boostnote', + role: 'quit', } ] }