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: 桌面端自动更新创建文件夹失败 Fix https://github.com/siyuan-note/siyuan/issues/6120
Liang Ding8e1af9520251
diff --git a/kernel/model/updater.go b/kernel/model/updater.goindex 52ea1fc39c..a94c083b9c 100644--- a/kernel/model/updater.go+++ b/kernel/model/updater.go@@ -147,10 +147,16 @@ func downloadInstallPkg(pkgURL, checksum string) {}}+ err := os.MkdirAll(filepath.Join(util.TempDir, "install"), 0755)+ if nil != err {+ logging.LogErrorf("create temp install dir failed: %s", err)+ return+ }+logging.LogInfof("downloading install package [%s]", pkgURL)msgId := util.PushMsg(Conf.Language(103), 60*1000*10)client := req.C().SetTLSHandshakeTimeout(7 * time.Second).SetTimeout(10 * time.Minute)- err := client.NewParallelDownload(pkgURL).SetConcurrency(8).SetSegmentSize(1024 * 1024 * 2).+ err = client.NewParallelDownload(pkgURL).SetConcurrency(8).SetSegmentSize(1024 * 1024 * 2).SetOutputFile(savePath).Do()if nil != err {logging.LogErrorf("download install package failed: %s", err)