From ba7f8b35794f1f3190a0498fed7e2ba6edae4b5a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 17 Sep 2022 10:49:06 +0800 Subject: [PATCH] :zap: https://github.com/siyuan-note/siyuan/issues/5875 icon --- app/src/protyle/export/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 14ceca738..6666093c0 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,