Signal-Desktop/ts/windows/loading/preload.ts
automated-signal 04c53732a3
Monkey-patch os.hostname on Windows 7
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2022-06-23 12:32:43 -07:00

12 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);