🎨 Support one-click enable/disable of all downloaded plugins https://github.com/siyuan-note/siyuan/issues/8523
This commit is contained in:
parent
5d4ac05269
commit
1a3c0e7f42
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue