diff --git a/kernel/model/plugin.go b/kernel/model/plugin.go index e0f64bdd8..1a6635de6 100644 --- a/kernel/model/plugin.go +++ b/kernel/model/plugin.go @@ -88,6 +88,11 @@ func LoadPetals(frontend string) (ret []*Petal) { petals := getPetals() for _, petal := range petals { + installPath := filepath.Join(util.DataDir, "plugins", petal.Name) + if !filelock.IsExist(installPath) { + continue + } + _, petal.DisplayName, petal.Incompatible = bazaar.ParseInstalledPlugin(petal.Name, frontend) if !petal.Enabled || petal.Incompatible { continue