فهرست منبع

: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)
 			} else {
 				if !petalConf.Enabled {
+					logging.LogInfof("plugin system has been disabled")
 					return
 				}
 			}