mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue