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