1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

native-messaging: Add chromium support (#11230)

This commit is contained in:
Alex Yao 2024-10-01 12:40:28 -05:00 committed by GitHub
parent f8ccf0cfb8
commit 256c6aef5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -201,6 +201,13 @@ export class NativeMessagingMain {
chromeJson,
);
}
if (existsSync(`${this.homedir()}/.config/chromium/`)) {
await this.writeManifest(
`${this.homedir()}/.config/chromium/NativeMessagingHosts/com.8bit.bitwarden.json`,
chromeJson,
);
}
break;
default:
break;