Skip to main content

install

Function install 

Source
pub fn install(
    manifest: &AddonManifest,
    source: &str,
    force: bool,
) -> Result<InstallOutcome, String>
Expand description

Wire manifest into the global gateway and record it in the store.

source is recorded for addon list ("registry" or "local"). force bypasses the capability-coherence gate (#1080). Replaces any existing gateway server / store entry with the same name (idempotent re-install). Returns an error if any preflight check rejects the addon.