Skip to content

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

:bug: 修复窗体按钮丢失问题

Liang Ding1260fa45c7e0
diff --git a/app/electron/main.js b/app/electron/main.js
index 23ee21f9da..ed71d53d9d 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -180,8 +180,7 @@ const boot = () => {
})
require('@electron/remote/main').enable(mainWindow.webContents)
- mainWindow.webContents.userAgent = 'SiYuan/' + appVer +
- ' https://b3log.org/siyuan Electron'
+ mainWindow.webContents.userAgent = 'SiYuan/' + appVer + ' https://b3log.org/siyuan Electron'
mainWindow.webContents.on('did-finish-load', () => {
if ('win32' === process.platform || 'linux' === process.platform) {
siyuanOpenURL = process.argv.find((arg) => arg.startsWith('siyuan://'))