mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 云端同步模式支持 完全手动同步 模式 https://github.com/siyuan-note/siyuan/issues/7295
This commit is contained in:
parent
533f7d42ef
commit
17410a93a4
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue