Skip to content

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

:art: 移动页签到新窗口 Fix https://github.com/siyuan-note/siyuan/issues/2955

Liang Ding1743eabde808
diff --git a/app/electron/main.js b/app/electron/main.js
index f6d22a4bbe..a130c23370 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -732,8 +732,8 @@ app.whenReady().then(() => {
show: true,
backgroundColor: '#FFF',
trafficLightPosition: {x: 8, y: 13},
- width: 1032,
- height: 650,
+ width: screen.getPrimaryDisplay().size.width * 0.7,
+ height: screen.getPrimaryDisplay().size.height * 0.9,
minWidth: 493,
minHeight: 376,
fullscreenable: true,