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/7295

Liang Ding17410a93a4ff
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index 55183f3654..cf676be22d 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -399,7 +399,8 @@ func Close(force bool, execInstallPkg int) (exitCode int) {
WaitForWritingFiles()
if !force {
- if Conf.Sync.Enabled && ((IsSubscriber() && conf.ProviderSiYuan == Conf.Sync.Provider) || conf.ProviderSiYuan != Conf.Sync.Provider) {
+ if Conf.Sync.Enabled && 3 != Conf.Sync.Mode &&
+ ((IsSubscriber() && conf.ProviderSiYuan == Conf.Sync.Provider) || conf.ProviderSiYuan != Conf.Sync.Provider) {
syncData(false, true, false)
if 0 != ExitSyncSucc {
exitCode = 1