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/17405#issuecomment-4366413171

Daniel1f9b87f770f0
diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.ts
index 59a6fbe536..01e9f5c0ee 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,