Skip to content

Commit

Permalink
Merge pull request #233 from eSkry/master
Browse files Browse the repository at this point in the history
Added support installation for Yandex Browser
  • Loading branch information
paulrouget authored Oct 4, 2024
2 parents 0b40d3e + 605eccd commit 7517add
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ regs = [ "Software\\Google\\Chrome\\NativeMessagingHosts", "Software\\Chromium\\
[store.microsoft.msg_manifest_paths.windows]
regs = [ "Software\\Microsoft\\Edge\\NativeMessagingHosts\\" ]

[store.yandex.msg_manifest_paths.windows]
regs = [ "Software\\Yandex\\YandexBrowser\\NativeMessagingHosts", "Software\\YandexBrowser\\NativeMessagingHosts" ]

### MOZILLA MAC USER ###

[[store.mozilla.msg_manifest_paths.mac.user]]
Expand Down Expand Up @@ -144,6 +147,10 @@ only_if_dir_exists = "~/Library/Application Support/BraveSoftware/Brave-Browser-
path = "~/Library/Application Support/Opera/NativeMessagingHosts/"
only_if_dir_exists = "~/Library/Application Support/Opera/"

[[store.google.msg_manifest_paths.mac.user]]
path = "~/Library/Application Support/Yandex/YandexBrowser/NativeMessagingHosts/"
only_if_dir_exists = "~/Library/Application Support/Yandex/YandexBrowser/"

### GOOGLE MAC SYSTEM ###

[[store.google.msg_manifest_paths.mac.system]]
Expand Down Expand Up @@ -238,6 +245,10 @@ only_if_dir_exists = "~/.var/app/com.chromium.Chromium"
path = "~/.var/app/com.github.Eloston.UngoogledChromium/config/chromium/NativeMessagingHosts"
only_if_dir_exists = "~/.var/app/com.github.Eloston.UngoogledChromium"

[[store.google.msg_manifest_paths.linux.user]]
path = "~/.config/yandex-browser/NativeMessagingHosts"
only_if_dir_exists = "~/.config/yandex-browser/"

### GOOGLE LINUX SYSTEM ###

[[store.google.msg_manifest_paths.linux.system]]
Expand Down
2 changes: 2 additions & 0 deletions tests/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const install_locations = {
[".config/vivaldi-snapshot/NativeMessagingHosts", "ggl"],
[".config/opera/NativeMessagingHosts", "ggl"],
[".config/BraveSoftware/Brave-Browser/NativeMessagingHosts", "ggl"],
[".config/yandex-browser/NativeMessagingHosts/", "ggl"],
],
system: [
["/etc/opt/edge/native-messaging-hosts/", "ms"],
Expand All @@ -63,6 +64,7 @@ const install_locations = {
["Library/Application Support/Mozilla/NativeMessagingHosts/", "amo"],
["Library/Application Support/Opera/NativeMessagingHosts/", "ggl"],
["Library/Application Support/BraveSoftware/Brave-Browser/NativeMessagingHosts/", "ggl"],
["Library/Application Support/Yandex/YandexBrowser/NativeMessagingHosts/", "ggl"],
],
system: [
["/Library/Google/Chrome/NativeMessagingHosts/", "ggl"],
Expand Down

0 comments on commit 7517add

Please sign in to comment.