signal-desktop/ts/windows/loading/preload.ts

12 lines
323 B
TypeScript
Raw Normal View History

2022-06-23 19:15:27 +00:00
// Copyright 2020-2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2022-06-23 19:15:27 +00:00
// 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);