mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-07-21 12:51:37 +08:00
✨ Feature(custom): add feedback entry
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import pkg from 'root/package.json'
|
||||
|
||||
// Electron modules
|
||||
import { Menu, BrowserWindow, app, dialog } from 'electron'
|
||||
import { Menu, BrowserWindow, app, dialog, shell } from 'electron'
|
||||
|
||||
// Custom utilities and modules
|
||||
import windowManager from 'apis/app/window/windowManager'
|
||||
@@ -140,6 +140,13 @@ const buildMainPageMenu = (win: BrowserWindow) => {
|
||||
click () {
|
||||
win?.webContents?.openDevTools({ mode: 'detach' })
|
||||
}
|
||||
},
|
||||
{
|
||||
label: T('FEEDBACK'),
|
||||
click () {
|
||||
const url = 'https://github.com/Kuingsmile/PicList/issues'
|
||||
shell.openExternal(url)
|
||||
}
|
||||
}
|
||||
]
|
||||
// @ts-ignore
|
||||
|
||||
1
src/universal/types/i18n.d.ts
vendored
1
src/universal/types/i18n.d.ts
vendored
@@ -23,6 +23,7 @@ interface ILocales {
|
||||
FIND_NEW_VERSION: string
|
||||
NO_MORE_NOTICE: string
|
||||
SHOW_DEVTOOLS: string
|
||||
FEEDBACK: string
|
||||
CURRENT_PICBED: string
|
||||
START_WATCH_CLIPBOARD: string
|
||||
STOP_WATCH_CLIPBOARD: string
|
||||
|
||||
Reference in New Issue
Block a user