Skip to content

Commit

Permalink
Add Chrome dev and canary to installer
Browse files Browse the repository at this point in the history
  • Loading branch information
rhys101 committed Oct 29, 2024
1 parent 28ba6f3 commit 81b6c0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/native/main/Installer/BrowserManifestInstaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ export async function install () {

const crxRegistryKeys = [
`\\Software\\Google\\Chrome\\NativeMessagingHosts\\${config.native.identifier}`,
`\\Software\\Google\\Chrome Beta\\NativeMessagingHosts\\${config.native.identifier}`,
`\\Software\\Google\\Chrome Dev\\NativeMessagingHosts\\${config.native.identifier}`,
`\\Software\\Google\\Chrome SxS\\NativeMessagingHosts\\${config.native.identifier}`,
`\\Software\\Chromium\\NativeMessagingHosts\\${config.native.identifier}`,
`\\Software\\Vivaldi\\NativeMessagingHosts\\${config.native.identifier}`,
`\\Software\\Microsoft\\Edge\\NativeMessagingHosts\\${config.native.identifier}`,
Expand Down Expand Up @@ -93,6 +96,8 @@ export async function install () {
crxHostPaths = [
path.join(homedir, 'Library/Application Support/Google/Chrome/NativeMessagingHosts/'),
path.join(homedir, 'Library/Application Support/Google/Chrome Beta/NativeMessagingHosts/'),
path.join(homedir, 'Library/Application Support/Google/Chrome Dev/NativeMessagingHosts/'),
path.join(homedir, 'Library/Application Support/Google/Chrome Canary/NativeMessagingHosts/'),
path.join(homedir, 'Library/Application Support/Chromium/NativeMessagingHosts/'),
path.join(homedir, 'Library/Application Support/Vivaldi/NativeMessagingHosts/'),
path.join(homedir, 'Library/Application Support/Microsoft Edge/NativeMessagingHosts/'),
Expand All @@ -107,6 +112,7 @@ export async function install () {
crxHostPaths = [
path.join(homedir, '.config/google-chrome/NativeMessagingHosts/'),
path.join(homedir, '.config/google-chrome-beta/NativeMessagingHosts/'),
path.join(homedir, '.config/google-chrome-unstable/NativeMessagingHosts/'),
path.join(homedir, '.config/chromium/NativeMessagingHosts/'),
path.join(homedir, '.config/vivaldi/NativeMessagingHosts/'),
path.join(homedir, '.config/wavebox/NativeMessagingHosts/')
Expand Down

0 comments on commit 81b6c0f

Please sign in to comment.