github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbnm/hostmanifest/known_linux.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: "/etc/opt/chrome/native-messaging-hosts/", 10 Home: ".config/google-chrome/NativeMessagingHosts", 11 }, 12 "chromium": &whitelistPath{ 13 Root: "/etc/chromium/native-messaging-hosts", 14 Home: ".config/chromium/NativeMessagingHosts", 15 }, 16 // https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging 17 "firefox": &whitelistPath{ 18 Root: "/usr/lib/mozilla/native-messaging-hosts", 19 Home: ".mozilla/native-messaging-hosts", 20 }, 21 } 22 }