signal-desktop/ts/windows/loading/preload.ts
2022-06-23 12:15:27 -07:00

11 lines
323 B
TypeScript

// Copyright 2020-2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
// This has to be the first import because of monkey-patching
import '../shims';
import { contextBridge } from 'electron';
import { SignalContext } from '../context';
contextBridge.exposeInMainWorld('SignalContext', SignalContext);