This commit is contained in:
Liang Ding 2023-05-05 16:43:23 +08:00
parent 109462a22f
commit 37e2528713
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 15 additions and 0 deletions

View file

@ -138,6 +138,7 @@ func InstalledPlugins() (ret []*Plugin) {
plugin.PreviewURL = "/plugins/" + dirName + "/preview.png"
plugin.PreviewURLThumb = "/plugins/" + dirName + "/preview.png"
plugin.IconURL = "/plugins/" + dirName + "/icon.png"
plugin.Funding = parseFunding(pluginConf)
info, statErr := os.Stat(filepath.Join(installPath, "README.md"))
if nil != statErr {
logging.LogWarnf("stat install theme README.md failed: %s", statErr)