mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08:13 -05:00
🔨 Refactor: open devtools in detached window
This commit is contained in:
parent
566c5df9be
commit
883e5a1e6d
@ -144,7 +144,7 @@ const buildMainPageMenu = (win: BrowserWindow) => {
|
|||||||
{
|
{
|
||||||
label: T('SHOW_DEVTOOLS'),
|
label: T('SHOW_DEVTOOLS'),
|
||||||
click () {
|
click () {
|
||||||
win?.webContents?.openDevTools()
|
win?.webContents?.openDevTools({ mode: 'detach' })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user