enhance(plugin): auto updates for web plugins

This commit is contained in:
charlie
2025-01-08 13:15:26 +08:00
parent 1110e81741
commit d0cd4c2e1e
5 changed files with 23 additions and 19 deletions

View File

@@ -2035,7 +2035,7 @@ Similar to re-frame subscriptions"
([theme?] (get-enabled?-installed-plugins theme? true false false))
([theme? enabled? include-unpacked? include-all?]
(filterv
#(and (if include-unpacked? true (:iir %))
#(and (if include-unpacked? true (or (:webMode %) (:iir %)))
(if-not (boolean? enabled?) true (= (not enabled?) (boolean (get-in % [:settings :disabled]))))
(or include-all? (if (boolean? theme?) (= (boolean theme?) (:theme %)) true)))
(vals (:plugin/installed-plugins @state)))))