Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/17842

Daniel0bb0963679f9
diff --git a/app/electron/main.js b/app/electron/main.js
index 6e32b8fd3c..12223076ac 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -406,6 +406,7 @@ const initMainWindow = () => {
// 创建主窗体
const currentWindow = new BrowserWindow({
+ title: "SiYuan",
show: false,
width: windowState.width,
height: windowState.height,
@@ -1137,6 +1138,7 @@ app.whenReady().then(() => {
const wndBounds = getWindowByContentId(event.sender.id).getBounds();
const wndScreen = screen.getDisplayNearestPoint({x: wndBounds.x, y: wndBounds.y});
const printWin = new BrowserWindow({
+ title: "SiYuan",
show: true,
width: Math.floor(wndScreen.size.width * 0.8),
height: Math.floor(wndScreen.size.height * 0.8),
@@ -1176,6 +1178,7 @@ app.whenReady().then(() => {
const mainBounds = mainWindow.getBounds();
const mainScreen = screen.getDisplayNearestPoint({x: mainBounds.x, y: mainBounds.y});
const win = new BrowserWindow({
+ title: "SiYuan",
show: true,
trafficLightPosition: {x: 8, y: 13},
width: Math.floor(data.width || mainScreen.size.width * 0.7),