update review changes

This commit is contained in:
YULIUS KURNIAWAN KRISTIANTO 2018-03-30 23:18:46 +07:00 committed by GitHub
parent e70d8f2348
commit 6db06a0d19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
import { app, Menu, shell } from 'electron'; import { app, Menu, shell } from 'electron';
export default () => { export default () => {
const newLocal = 'quit';
const template = [ const template = [
{ {
label: 'Edit', label: 'Edit',
@ -27,7 +28,11 @@ export default () => {
}, },
{ {
role: 'window', role: 'window',
submenu: [{ role: 'minimize' }, { role: 'close' }], submenu: [
{ role: 'minimize' },
{ role: 'close' },
{ role: 'quit', accelerator: 'CmdOrCtrl+Q' },
],
}, },
{ {
role: 'help', role: 'help',
@ -42,11 +47,6 @@ export default () => {
} }
}, },
}, },
{
label: 'Close',
accelerator: 'CmdOrCtrl+Q',
role: 'quit',
},
{ {
label: 'Frequently Asked Questions', label: 'Frequently Asked Questions',
click: () => { click: () => {