🎨 集市支持已安装的包单独显示 https://github.com/siyuan-note/siyuan/issues/5678

This commit is contained in:
Liang Ding 2022-09-01 21:48:50 +08:00
parent af96e48589
commit 0c6a486fa2
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 21 additions and 17 deletions

View file

@ -98,6 +98,7 @@ func Themes() (ret []*Theme) {
}
func InstalledThemes() (ret []*Theme) {
ret = []*Theme{}
dir, err := os.Open(util.ThemesPath)
if nil != err {
logging.LogWarnf("open appearance themes folder [%s] failed: %s", util.ThemesPath, err)