perf: add bug report entrance
This commit is contained in:
parent
f5611a2635
commit
b06217adc0
|
@ -68,6 +68,10 @@ const preferencesOptions = computed(() => {
|
|||
// key: 'help',
|
||||
// icon: render.renderIcon(Help, { strokeWidth: 3 }),
|
||||
// },
|
||||
{
|
||||
label: i18n.t('menu.report_bug'),
|
||||
key: 'report',
|
||||
},
|
||||
{
|
||||
label: i18n.t('menu.check_update'),
|
||||
key: 'update',
|
||||
|
@ -97,6 +101,9 @@ const onSelectPreferenceMenu = (key) => {
|
|||
case 'update':
|
||||
prefStore.checkForUpdate(true)
|
||||
break
|
||||
case 'report':
|
||||
BrowserOpenURL('https://github.com/tiny-craft/tiny-rdm/issues')
|
||||
break
|
||||
case 'about':
|
||||
dialogStore.openAboutDialog()
|
||||
break
|
||||
|
|
|
@ -293,6 +293,7 @@
|
|||
"preferences": "Preferences",
|
||||
"help": "Help",
|
||||
"check_update": "Check for Updates...",
|
||||
"report_bug": "Report a Bug",
|
||||
"about": "About"
|
||||
},
|
||||
"log": {
|
||||
|
|
|
@ -292,6 +292,7 @@
|
|||
"preferences": "偏好设置",
|
||||
"help": "帮助",
|
||||
"check_update": "检查更新...",
|
||||
"report_bug": "报告错误",
|
||||
"about": "关于"
|
||||
},
|
||||
"log": {
|
||||
|
|
Loading…
Reference in New Issue