From db70c6919e598d08190c9acfe1993a5c969156e8 Mon Sep 17 00:00:00 2001 From: Loric Date: Wed, 17 Feb 2021 21:52:41 +0100 Subject: [PATCH] Add Brave path for Windows RELEASE_NOTES=n/a Signed-off-by: Loric --- README.md | 1 + internal/jsonapi/manifest/setup_windows.go | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 76a7a43..b735177 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ As fallback, the last part of the path is used, e.g. `theuser1` for `Internet/gi - Firefox - Chrome - Chromium +- Brave ## Contributing diff --git a/internal/jsonapi/manifest/setup_windows.go b/internal/jsonapi/manifest/setup_windows.go index 2aa3257..4033efa 100644 --- a/internal/jsonapi/manifest/setup_windows.go +++ b/internal/jsonapi/manifest/setup_windows.go @@ -17,6 +17,7 @@ var ( "firefox": `Software\Mozilla\NativeMessagingHosts\` + Name, "chrome": `Software\Google\Chrome\NativeMessagingHosts\` + Name, "chromium": `Software\Google\Chrome\NativeMessagingHosts\` + Name, + "brave": `Software\BraveSoftware\Brave-Browser\NativeMessagingHosts\` + Name, } )