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

This commit is contained in:
Daniel 2023-06-23 22:02:03 +08:00
parent 5d4ac05269
commit 1a3c0e7f42
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}
}