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:
@@ -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/>
|
||||
|
||||
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user