refactor: 修改开发工具打开模式为分离,优化调试体验;更新ThemeToggle组件样式;删除不再使用的IPC和Node示例代码

This commit is contained in:
Elysia
2026-01-30 21:31:13 +08:00
parent 569cc87994
commit 681780f712
4 changed files with 2 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ async function createWindow() {
if (VITE_DEV_SERVER_URL) { // #298
win.loadURL(VITE_DEV_SERVER_URL)
// Open devTool if the app is not packaged
win.webContents.openDevTools()
win.webContents.openDevTools({mode:'detach'})
} else {
win.loadFile(indexHtml)
}