Skip to content

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

:art: pdf

Vanessac216ff254209
diff --git a/app/electron/main.js b/app/electron/main.js
index 43f0d43273..c26d3e38d1 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -947,8 +947,8 @@ app.whenReady().then(() => {
const win = new BrowserWindow({
show: true,
trafficLightPosition: {x: 8, y: 13},
- width: data.width || mainScreen.size.width * 0.7,
- height: data.height || mainScreen.size.height * 0.9,
+ width: Math.floor(data.width || mainScreen.size.width * 0.7),
+ height: Math.floor(data.height || mainScreen.size.height * 0.9),
minWidth: 493,
minHeight: 376,
fullscreenable: true,