mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 集市支持已安装的包单独显示 https://github.com/siyuan-note/siyuan/issues/5678
This commit is contained in:
parent
af96e48589
commit
0c6a486fa2
4 changed files with 21 additions and 17 deletions
|
|
@ -96,6 +96,7 @@ func Icons() (icons []*Icon) {
|
|||
}
|
||||
|
||||
func InstalledIcons() (ret []*Icon) {
|
||||
ret = []*Icon{}
|
||||
dir, err := os.Open(filepath.Join(util.DataDir, "icons"))
|
||||
if nil != err {
|
||||
logging.LogWarnf("open icons folder [%s] failed: %s", util.ThemesPath, err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue