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 )
Click to show internal directories.
Click to hide internal directories.