perf: add bug report entrance

This commit is contained in:
Lykin 2023-12-16 12:43:58 +08:00
parent f5611a2635
commit b06217adc0
3 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -293,6 +293,7 @@
"preferences": "Preferences",
"help": "Help",
"check_update": "Check for Updates...",
"report_bug": "Report a Bug",
"about": "About"
},
"log": {

View File

@ -292,6 +292,7 @@
"preferences": "偏好设置",
"help": "帮助",
"check_update": "检查更新...",
"report_bug": "报告错误",
"about": "关于"
},
"log": {