         (object/update! app/app [::plugins] assoc name {})
         (fetch-and-install (-> plugin :tar) name
                            (fn []
-                             (object/raise manager :refresh!)
                              (when cb
                                (cb true))
                              )))

            [lt.util.kahn :as kahn]
            [lt.util.load :as load]
            [lt.util.dom :as dom]
            [clojure.string :as string]
            [clojure.walk :as walk])
  (:require-macros [lt.macros :refer [behavior defui]]))

  :click (fn [e]
           (dom/prevent e)
           (dom/stop-propagation e)
           (discover-deps plugin (fn []
                                   (cmd/exec! :behaviors.reload)
                                   (object/raise manager :refresh!)))))

(defui install-button [plugin]
  [:span.install]
