Explorar o código

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

Daniel %!s(int64=2) %!d(string=hai) anos
pai
achega
1a3c0e7f42
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
 			} else {
 				if !petalConf.Enabled {
+					logging.LogInfof("plugin system has been disabled")
 					return
 				}
 			}