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', label: '&Help',
role: 'help', role: 'help',
submenu: [{ submenu: [{
label: 'Learn More', label: 'Quick Start',
click () { 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 () { click () {
shell.openExternal('https://github.com/marktext/marktext') shell.openExternal('https://github.com/marktext/marktext/blob/master/docs/MARKDOWN_SYNTAX.md')
}
}, {
label: 'License',
click () {
shell.openExternal('https://github.com/marktext/marktext/blob/master/LICENSE')
} }
}, { }, {
label: 'Changelog', label: 'Changelog',
click () { click () {
shell.openExternal('https://github.com/marktext/marktext/blob/master/.github/CHANGELOG.md') 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' type: 'separator'
}, {
label: 'Donate via Open Collective',
click (item, win) {
shell.openExternal('https://opencollective.com/marktext')
}
}, { }, {
label: 'Feedback via Twitter', label: 'Feedback via Twitter',
click (item, win) { click (item, win) {
@ -70,11 +65,33 @@ export default function () {
} }
}, { }, {
type: 'separator' 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', label: 'Follow @Jocs on Github',
click () { click () {
shell.openExternal('https://github.com/Jocs') 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')
}
}] }]
} }