Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:recycle: Electron new-window 事件替换

Liang Dingb251d18f8a4b
diff --git a/app/electron/main.js b/app/electron/main.js
index 961b29a960..c9ab0f8dd1 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -786,7 +786,7 @@ app.on('web-contents-created', (webContentsCreatedEvent, contents) => {
contents.setWindowOpenHandler((details) => {
shell.openExternal(details.url)
- return {action: 'deny',}
+ return {action: 'deny'}
})
})