[][src]Function firefox_native_manifest::register_native_messaging

pub fn register_native_messaging<P>(
    vis: Visibility,
    manifest_path: &P
) -> Result<()> where
    P: AsRef<Path>, 

Register the specified manifest file for native messaging host with Firefox.

On Linux and macOS, it duplicates the content to the native directory, with path canonicalized to absolute path.

On Windows, it adds the given path to corresponding key in the registry.