From 527753113b8f0cb1d2446abecfce76e91a779738 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 16 Jul 2022 09:39:12 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20`/=E8=B5=84=E6=BA=90`=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=90=9C=E7=B4=A2=E6=9C=AA=E7=B4=A2=E5=BC=95=E7=9A=84?= =?UTF-8?q?=E6=96=87=E4=BB=B6=20https://github.com/siyuan-note/siyuan/issu?= =?UTF-8?q?es/5416?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/cache/asset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cache/asset.go b/kernel/cache/asset.go index 13d5ebc55..ed1c87742 100644 --- a/kernel/cache/asset.go +++ b/kernel/cache/asset.go @@ -45,7 +45,7 @@ func LoadAssets() { } return nil } - if strings.HasSuffix(info.Name(), ".sya") { + if strings.HasSuffix(info.Name(), ".sya") || strings.HasPrefix(info.Name(), ".") { return nil }