@vestra-player/sdk - v1.11.3
    Preparing search index...

    Interface InstallOptions

    1.1.0

    interface InstallOptions {
        source?: PackageSource;
        replace?: boolean;
        enabled?: boolean;
    }
    Index
    source?: PackageSource

    Where the package comes from (default { kind: "file" }). Repository and link addresses must be http(s). bundled is invalid.

    replace?: boolean

    Replace a plugin of the same id installed from another source (ask the user first). Without it such an install fails with conflict. The replaced plugin's data is kept; installing from its source again reconnects to it.

    enabled?: boolean

    Whether the plugin runs once installed. Left out, a first install runs and an update or reinstall (from any source, replace included) keeps the installed plugin's state: one the user or a store disabled stays disabled, and only its files are installed (nothing starts it, so the change commits without an activating step). true enables and starts it, for example a version the store disabled that an update fixes; if it fails to start, the old version is restored, still disabled. false installs it disabled: a running version is stopped and its session values go, as with Packages.setEnabled. Built-in plugins always run (and cannot be installed over). A value that is not a boolean is invalid.

    0.6.4