mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Add settings toggle to enable/disable browser integration
This commit is contained in:
@@ -144,6 +144,10 @@ export class Main {
|
||||
await this.biometricMain.init();
|
||||
}
|
||||
|
||||
if (await this.storageService.get<boolean>(ElectronConstants.enableBrowserIntegration)) {
|
||||
this.nativeMessagingService.listen();
|
||||
}
|
||||
|
||||
if (!app.isDefaultProtocolClient('bitwarden')) {
|
||||
app.setAsDefaultProtocolClient('bitwarden');
|
||||
}
|
||||
@@ -157,8 +161,6 @@ export class Main {
|
||||
// tslint:disable-next-line
|
||||
console.error(e);
|
||||
});
|
||||
this.nativeMessagingService.listen();
|
||||
this.nativeMessagingService.generateManifests();
|
||||
}
|
||||
|
||||
private processDeepLink(argv: string[]): void {
|
||||
|
||||
Reference in New Issue
Block a user