mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-08 09:10:18 +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
|
||||
|
||||
Reference in New Issue
Block a user