github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/kbnm/hostmanifest/known_darwin.go (about)

     1  package hostmanifest
     2  
     3  // KnownInstallers returns a map of browser-to-Installer that this package
     4  // knows about for this platform.
     5  func KnownInstallers() map[string]Installer {
     6  	return map[string]Installer{
     7  		// https://developer.chrome.com/extensions/nativeMessaging#native-messaging-host-location-nix
     8  		"chrome": &whitelistPath{
     9  			Root: "/Library/Google/Chrome/NativeMessagingHosts",
    10  			Home: "Library/Application Support/Google/Chrome/NativeMessagingHosts",
    11  		},
    12  		"chromium": &whitelistPath{
    13  			Root: "/Library/Application Support/Chromium/NativeMessagingHosts",
    14  			Home: "Library/Application Support/Chromium/NativeMessagingHosts",
    15  		},
    16  		// https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging
    17  		"firefox": &whitelistPath{
    18  			Root: "/Library/Application Support/Mozilla/NativeMessagingHosts",
    19  			Home: "Library/Application Support/Mozilla/NativeMessagingHosts",
    20  		},
    21  	}
    22  }