manifest

package
v0.0.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

manifest contains the logic needed to install manifests for the native messaging host. Browsers require these for extensions to communicate with native messaging hosts.

Index

Constants

View Source
const ChromeExtension1 = "chrome-extension://cahkgigfdplmhgjbioakkgennhncioli/"
View Source
const ChromeExtension2 = "chrome-extension://fbnilfpngakppdkddndcnckolmlpghdf/"
View Source
const FirefoxExtension = "armaria@armaria.net"

Variables

This section is empty.

Functions

func InstallManifest

func InstallManifest(path string, hostPath string, manifestType ManifestType) error

InstallManifest installs the app manifest.

Types

type ManifestType

type ManifestType int

ManifestType is the type of manifest being installed.

const (
	ManifestFirefox ManifestType = iota + 1
	ManifestChrome
	ManifestChromium
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL