mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 15:10:19 +08:00
40 lines
911 B
JavaScript
Executable File
40 lines
911 B
JavaScript
Executable File
import { shell } from 'electron'
|
|
|
|
export default {
|
|
label: 'Help',
|
|
role: 'help',
|
|
submenu: [{
|
|
label: 'Learn More',
|
|
click: function () {
|
|
shell.openExternal('https://github.com/Jocs/aganippe')
|
|
}
|
|
}, {
|
|
label: 'Report Issue',
|
|
click: function () {
|
|
shell.openExternal('https://github.com/Jocs/aganippe/issues')
|
|
}
|
|
}, {
|
|
label: 'Source Code on GitHub',
|
|
click: function () {
|
|
shell.openExternal('https://github.com/Jocs/aganippe')
|
|
}
|
|
}, {
|
|
label: 'Changelog',
|
|
click: function () {
|
|
shell.openExternal('https://github.com/Jocs/aganippe/CHANGELOG.md')
|
|
}
|
|
}, {
|
|
label: 'Markdown syntax',
|
|
click: function () {
|
|
shell.openExternal('http://spec.commonmark.org/0.28/')
|
|
}
|
|
}, {
|
|
type: 'separator'
|
|
}, {
|
|
label: 'Follow @Jocs on Github',
|
|
click: function () {
|
|
shell.openExternal('https://github.com/Jocs')
|
|
}
|
|
}]
|
|
}
|