mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 为桌面端添加 同步模式 选择 https://github.com/siyuan-note/siyuan/issues/5089
This commit is contained in:
parent
9635154e45
commit
b108480450
8 changed files with 61 additions and 0 deletions
|
|
@ -214,6 +214,9 @@ func InitConf() {
|
|||
util.LogErrorf("create sync dir [%s] failed: %s", Conf.Sync.GetSaveDir(), err)
|
||||
}
|
||||
}
|
||||
if 0 == Conf.Sync.Mode {
|
||||
Conf.Sync.Mode = 1
|
||||
}
|
||||
|
||||
if nil == Conf.Api {
|
||||
Conf.Api = conf.NewAPI()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue