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: 桌面端自动下载更新安装包 https://github.com/siyuan-note/siyuan/issues/5837
Liang Ding8399f852a465
diff --git a/kernel/model/updater.go b/kernel/model/updater.goindex 683a22c873..131d8c71c8 100644--- a/kernel/model/updater.go+++ b/kernel/model/updater.go@@ -25,6 +25,7 @@ import ("path/filepath""runtime""sync"+ "time""github.com/88250/gulu""github.com/imroc/req/v3"@@ -93,9 +94,10 @@ func downloadInstallPkg(pkgURL, checksum, savePath string) {}}- client := req.C()+ logging.LogInfof("downloading install package [%s]", pkgURL)+ client := req.C().SetTimeout(60 * time.Minute)callback := func(info req.DownloadInfo) {- logging.LogDebugf("downloading install package from [%s] %.2f%%", pkgURL, float64(info.DownloadedSize)/float64(info.Response.ContentLength)*100.0)+ //logging.LogDebugf("downloading install package [%s %.2f%%]", pkgURL, float64(info.DownloadedSize)/float64(info.Response.ContentLength)*100.0)}resp, err := client.R().SetOutputFile(savePath).SetDownloadCallback(callback).Get(pkgURL)if nil != err {