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

This commit is contained in:
Liang Ding 2022-09-02 10:36:56 +08:00
parent 7e8bcc4f62
commit 22cf11f229
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 3 additions and 2 deletions

View file

@ -85,7 +85,7 @@ func WidgetJSON(widgetDirName string) (ret map[string]interface{}, err error) {
}
func IconJSON(iconDirName string) (ret map[string]interface{}, err error) {
p := filepath.Join(util.ThemesPath, iconDirName, "icon.json")
p := filepath.Join(util.ThemesPath, "icons", iconDirName, "icon.json")
if !gulu.File.IsExist(p) {
err = os.ErrNotExist
return