An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Assets starting with `.` should not be considered missing assets https://github.com/siyuan-note/siyuan/issues/8821
Danielb7beff91e580
diff --git a/kernel/model/assets.go b/kernel/model/assets.goindex 88e3de4ca5..ab15c07ddf 100644--- a/kernel/model/assets.go+++ b/kernel/model/assets.go@@ -738,6 +738,14 @@ func MissingAssets() (ret []string) {}if "" == assetsPathMap[dest] {+ if strings.HasPrefix(dest, "assets/.") {+ // Assets starting with `.` should not be considered missing assets https://github.com/siyuan-note/siyuan/issues/8821+ if !gulu.File.IsExist(filepath.Join(util.DataDir, dest)) {+ ret = append(ret, dest)+ continue+ }+ }+ret = append(ret, dest)continue}