🎨 云端同步模式支持 完全手动同步 模式 https://github.com/siyuan-note/siyuan/issues/7295

This commit is contained in:
Liang Ding 2023-02-08 21:50:11 +08:00
parent 533f7d42ef
commit 17410a93a4
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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