Skip to content

Commit

Permalink
native-messaging: Add chromium support (#11230)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexyao2015 authored Oct 1, 2024
1 parent f8ccf0c commit 256c6ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/desktop/src/main/native-messaging.main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 256c6ae

Please sign in to comment.