Skip to main content

install

Function install 

Source
pub fn install(
    binary_path: &str,
    extension_id: &str,
) -> Result<String, InstallerError>
Expand description

Install the native messaging host manifest for all supported Chromium browsers.

Writes the manifest JSON to Chrome, Edge, and Brave locations. On Windows, also creates registry keys for all browsers.

§Errors

Returns an error if file I/O or registry operations fail.