浏览代码

:art: Support one-click enable/disable of all downloaded plugins https://github.com/siyuan-note/siyuan/issues/8523

Daniel 2 年之前
父节点
当前提交
1a3c0e7f42
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      kernel/model/plugin.go

+ 1 - 0
kernel/model/plugin.go

@@ -111,6 +111,7 @@ func LoadPetals(frontend string) (ret []*Petal) {
 				logging.LogErrorf("unmarshal petal conf [%s] failed: %s", confPath, err)
 				logging.LogErrorf("unmarshal petal conf [%s] failed: %s", confPath, err)
 			} else {
 			} else {
 				if !petalConf.Enabled {
 				if !petalConf.Enabled {
+					logging.LogInfof("plugin system has been disabled")
 					return
 					return
 				}
 				}
 			}
 			}