Skip to content

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

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

Liang Ding25be763f8ed5
diff --git a/app/electron/main.js b/app/electron/main.js
index 4ce2df45d2..23ee21f9da 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -181,7 +181,7 @@ const boot = () => {
require('@electron/remote/main').enable(mainWindow.webContents)
mainWindow.webContents.userAgent = 'SiYuan/' + appVer +
- ' https://b3log.org/siyuan ' + mainWindow.webContents.userAgent
+ ' 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://'))