Skip to content

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

:zap: https://github.com/siyuan-note/siyuan/issues/5875 icon

Vanessaba7f8b35794f
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index 14ceca738e..6666093c00 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -80,7 +80,7 @@ const renderPDF = (id: string) => {
width: 1032,
resizable: false,
frame: "darwin" === window.siyuan.config.system.os,
- icon: `${servePath}/stage/icon-large.png`,
+ icon: path.join(window.siyuan.config.system.appDir, 'stage', 'icon-large.png'),
titleBarStyle: "hidden",
webPreferences: {
contextIsolation: false,