mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01:00
🎨 集市支持已安装的包单独显示 https://github.com/siyuan-note/siyuan/issues/5678
This commit is contained in:
parent
3ad5bb7607
commit
cde994cbd4
5 changed files with 12 additions and 10 deletions
|
|
@ -24,7 +24,6 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/88250/gulu"
|
||||
"github.com/dustin/go-humanize"
|
||||
ants "github.com/panjf2000/ants/v2"
|
||||
"github.com/siyuan-note/httpclient"
|
||||
|
|
@ -143,7 +142,8 @@ func InstalledIcons() (ret []*Icon) {
|
|||
logging.LogWarnf("read install icon README.md failed: %s", readErr)
|
||||
continue
|
||||
}
|
||||
icon.README = gulu.Str.FromBytes(readme)
|
||||
|
||||
icon.README, _ = renderREADME(icon.URL, readme)
|
||||
icon.Outdated = isOutdatedIcon(icon.URL, icon.Version, bazaarIcons)
|
||||
ret = append(ret, icon)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue