1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00: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

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;