mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +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 Dev/NativeMessagingHosts/</string>
|
||||||
<string>/Library/Application Support/Microsoft Edge Canary/NativeMessagingHosts/</string>
|
<string>/Library/Application Support/Microsoft Edge Canary/NativeMessagingHosts/</string>
|
||||||
<string>/Library/Application Support/Vivaldi/NativeMessagingHosts/</string>
|
<string>/Library/Application Support/Vivaldi/NativeMessagingHosts/</string>
|
||||||
|
<string>/Library/Application Support/Zen/NativeMessagingHosts/</string>
|
||||||
</array>
|
</array>
|
||||||
<key>com.apple.security.cs.allow-jit</key>
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ export class NativeMessagingMain {
|
|||||||
const p = path.join(value, "NativeMessagingHosts", "com.8bit.bitwarden.json");
|
const p = path.join(value, "NativeMessagingHosts", "com.8bit.bitwarden.json");
|
||||||
|
|
||||||
let manifest: any = chromeJson;
|
let manifest: any = chromeJson;
|
||||||
if (key === "Firefox") {
|
if (key === "Firefox" || key === "Zen") {
|
||||||
manifest = firefoxJson;
|
manifest = firefoxJson;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -313,6 +313,7 @@ export class NativeMessagingMain {
|
|||||||
"Microsoft Edge Dev": `${this.homedir()}/Library/Application\ Support/Microsoft\ Edge\ Dev/`,
|
"Microsoft Edge Dev": `${this.homedir()}/Library/Application\ Support/Microsoft\ Edge\ Dev/`,
|
||||||
"Microsoft Edge Canary": `${this.homedir()}/Library/Application\ Support/Microsoft\ Edge\ Canary/`,
|
"Microsoft Edge Canary": `${this.homedir()}/Library/Application\ Support/Microsoft\ Edge\ Canary/`,
|
||||||
Vivaldi: `${this.homedir()}/Library/Application\ Support/Vivaldi/`,
|
Vivaldi: `${this.homedir()}/Library/Application\ Support/Vivaldi/`,
|
||||||
|
Zen: `${this.homedir()}/Library/Application\ Support/Zen/`,
|
||||||
};
|
};
|
||||||
/* eslint-enable no-useless-escape */
|
/* eslint-enable no-useless-escape */
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user