Merge pull request #1623 from marktext/update-help-menu

Update help menu
This commit is contained in:
Ran Luo 2019-11-06 23:28:23 +08:00 committed by GitHub
commit 804555b04b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,32 +32,27 @@ export default function () {
label: '&Help',
role: 'help',
submenu: [{
label: 'Learn More',
label: 'Quick Start',
click () {
shell.openExternal('https://marktext.app')
shell.openExternal('https://github.com/marktext/marktext/blob/master/docs/README.md')
}
}, {
label: 'Source Code on GitHub',
label: 'Markdown syntax',
click () {
shell.openExternal('https://github.com/marktext/marktext')
}
}, {
label: 'License',
click () {
shell.openExternal('https://github.com/marktext/marktext/blob/master/LICENSE')
shell.openExternal('https://github.com/marktext/marktext/blob/master/docs/MARKDOWN_SYNTAX.md')
}
}, {
label: 'Changelog',
click () {
shell.openExternal('https://github.com/marktext/marktext/blob/master/.github/CHANGELOG.md')
}
}, {
label: 'Markdown syntax',
click () {
shell.openExternal('https://github.com/marktext/marktext/blob/develop/docs/MARKDOWN_SYNTAX.md')
}
}, {
type: 'separator'
}, {
label: 'Donate via Open Collective',
click (item, win) {
shell.openExternal('https://opencollective.com/marktext')
}
}, {
label: 'Feedback via Twitter',
click (item, win) {
@ -70,11 +65,33 @@ export default function () {
}
}, {
type: 'separator'
}, {
label: 'Website',
click () {
shell.openExternal('https://marktext.app')
}
}, {
label: 'Watch on GitHub',
click () {
shell.openExternal('https://github.com/marktext/marktext')
}
}, {
label: 'Follow @Jocs on Github',
click () {
shell.openExternal('https://github.com/Jocs')
}
}, {
label: 'Follow us on Twitter',
click () {
shell.openExternal('https://twitter.com/marktextapp')
}
}, {
type: 'separator'
}, {
label: 'License',
click () {
shell.openExternal('https://github.com/marktext/marktext/blob/master/LICENSE')
}
}]
}