mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Init plugin system https://github.com/siyuan-note/siyuan/issues/8041
This commit is contained in:
parent
109462a22f
commit
37e2528713
6 changed files with 15 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ func InstalledWidgets() (ret []*Widget) {
|
|||
widget.PreviewURL = "/widgets/" + dirName + "/preview.png"
|
||||
widget.PreviewURLThumb = "/widgets/" + dirName + "/preview.png"
|
||||
widget.IconURL = "/widgets/" + dirName + "/icon.png"
|
||||
widget.Funding = parseFunding(widgetConf)
|
||||
info, statErr := os.Stat(filepath.Join(installPath, "README.md"))
|
||||
if nil != statErr {
|
||||
logging.LogWarnf("stat install theme README.md failed: %s", statErr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue