refactor: dev tools
parent
70766b7ae5
commit
04f02c7dfa
|
@ -32,6 +32,14 @@ function setTray () {
|
|||
// 通常被添加到一个 context menu 上.
|
||||
// 系统托盘右键菜单
|
||||
const trayMenuTemplate = [
|
||||
|
||||
{
|
||||
// 系统托盘图标目录
|
||||
label: 'DevTools',
|
||||
click: () => {
|
||||
win.webContents.openDevTools()
|
||||
}
|
||||
},
|
||||
{
|
||||
// 系统托盘图标目录
|
||||
label: '退出',
|
||||
|
|
Loading…
Reference in New Issue