mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
5822d1f7af
1 changed files with 8 additions and 1 deletions
|
|
@ -738,7 +738,14 @@ func MissingAssets() (ret []string) {
|
|||
}
|
||||
|
||||
if "" == assetsPathMap[dest] {
|
||||
ret = append(ret, dest)
|
||||
if strings.HasPrefix(dest, "assets/.") {
|
||||
// Assets starting with `.` should not be considered missing assets https://github.com/siyuan-note/siyuan/issues/8821
|
||||
if !gulu.File.IsExist(filepath.Join(util.DataDir, dest)) {
|
||||
ret = append(ret, dest)
|
||||
}
|
||||
} else {
|
||||
ret = append(ret, dest)
|
||||
}
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue