mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 01:34:20 +01:00
📝 Add user guide chapter Database https://github.com/siyuan-note/siyuan/issues/10340
This commit is contained in:
parent
b0556a2d41
commit
4b19979c60
2 changed files with 6 additions and 0 deletions
|
|
@ -164,6 +164,11 @@ func Mount(boxID string) (alreadyMount bool, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
avDirPath := filepath.Join(util.WorkingDir, "guide", boxID, "storage", "av")
|
||||
if err = filelock.Copy(avDirPath, filepath.Join(util.DataDir, "storage", "av")); nil != err {
|
||||
return
|
||||
}
|
||||
|
||||
if box := Conf.Box(boxID); nil != box {
|
||||
boxConf := box.GetConf()
|
||||
boxConf.Closed = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue