1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-25 00:53:22 +00:00

OSS and commercial desktop are up and running

This commit is contained in:
Derek Nance
2025-12-19 13:38:33 -06:00
parent 44e125da3d
commit c600d41c66
9 changed files with 56 additions and 21 deletions

View File

@@ -0,0 +1,13 @@
import tools from "./app/tools/preload";
import auth from "./auth/preload";
import autofill from "./autofill/preload";
import keyManagement from "./key-management/preload";
import platform from "./platform/preload";
export const ipc = {
auth,
autofill,
platform,
keyManagement,
tools,
} as const;

View File

@@ -1,10 +1,6 @@
import { contextBridge } from "electron";
import tools from "./app/tools/preload";
import auth from "./auth/preload";
import autofill from "./autofill/preload";
import keyManagement from "./key-management/preload";
import platform from "./platform/preload";
import { ipc } from "./preload.base";
/**
* Bitwarden Preload script.
@@ -17,12 +13,6 @@ import platform from "./platform/preload";
*/
// Each team owns a subspace of the `ipc` global variable in the renderer.
export const ipc = {
auth,
autofill,
platform,
keyManagement,
tools,
};
export { ipc };
contextBridge.exposeInMainWorld("ipc", ipc);