From 1f9b87f770f07dbf931eea8a1b787a6e2a0b3267 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 4 May 2026 01:52:14 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/17405#issuecomment-4366413171 Signed-off-by: Daniel <845765@qq.com> --- app/src/protyle/util/compatibility.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.ts index 59a6fbe53..01e9f5c0e 100644 --- a/app/src/protyle/util/compatibility.ts +++ b/app/src/protyle/util/compatibility.ts @@ -120,7 +120,7 @@ export const saveZipExport = async (zipPath: string) => { return; } /// #if !BROWSER - const fileName = zipPath.substring(zipPath.lastIndexOf("/") + 1); + const fileName = decodeURIComponent(zipPath.substring(zipPath.lastIndexOf("/") + 1)); const result = await ipcRenderer.invoke(Constants.SIYUAN_GET, { cmd: "showSaveDialog", defaultPath: fileName,