1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

Add support for Zen browser integration on mac (#13895)

This commit is contained in:
Bernd Schoolmann
2025-04-07 17:48:44 +02:00
committed by GitHub
parent 38f193ee6c
commit d95c3c63a8
2 changed files with 3 additions and 1 deletions

View File

@@ -35,6 +35,7 @@
<string>/Library/Application Support/Microsoft Edge Dev/NativeMessagingHosts/</string>
<string>/Library/Application Support/Microsoft Edge Canary/NativeMessagingHosts/</string>
<string>/Library/Application Support/Vivaldi/NativeMessagingHosts/</string>
<string>/Library/Application Support/Zen/NativeMessagingHosts/</string>
</array>
<key>com.apple.security.cs.allow-jit</key>
<true/>

View File

@@ -172,7 +172,7 @@ export class NativeMessagingMain {
const p = path.join(value, "NativeMessagingHosts", "com.8bit.bitwarden.json");
let manifest: any = chromeJson;
if (key === "Firefox") {
if (key === "Firefox" || key === "Zen") {
manifest = firefoxJson;
}
@@ -313,6 +313,7 @@ export class NativeMessagingMain {
"Microsoft Edge Dev": `${this.homedir()}/Library/Application\ Support/Microsoft\ Edge\ Dev/`,
"Microsoft Edge Canary": `${this.homedir()}/Library/Application\ Support/Microsoft\ Edge\ Canary/`,
Vivaldi: `${this.homedir()}/Library/Application\ Support/Vivaldi/`,
Zen: `${this.homedir()}/Library/Application\ Support/Zen/`,
};
/* eslint-enable no-useless-escape */
}