An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: `file://` 协议兼容 Window 平台使用 `/` 作为目录分割线 https://github.com/siyuan-note/siyuan/commit/dcd4e3a3829e8d18cdb0e751c3ea1c3bf2ade40d#r81672670
Liang Dingc5f0bcd71c92
diff --git a/app/src/editor/util.ts b/app/src/editor/util.tsindex 70f76f6e97..686a97bde8 100644--- a/app/src/editor/util.ts+++ b/app/src/editor/util.ts@@ -447,9 +447,9 @@ export const openBy = (url: string, type: "folder" | "app") => {});return;} else {- address = url.replace("file:///", "");- address = address.replace("file://", "");- address = address.replace("file://\\", "");+ address = url.replace("file:///", "")+ .replace("file://\\", "")+ .replace("file://", "");if ("windows" === window.siyuan.config.system.os) {// `file://` 协议兼容 Window 平台使用 `/` 作为目录分割线 https://github.com/siyuan-note/siyuan/issues/5681address = address.replace("/", "\\");