2021-08-03 14:28:45 +00:00
|
|
|
// Copyright 2020-2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2021-09-17 22:12:58 +00:00
|
|
|
import { contextBridge } from 'electron';
|
2021-08-03 14:28:45 +00:00
|
|
|
|
2021-09-17 22:12:58 +00:00
|
|
|
// It is important to call this as early as possible
|
|
|
|
import '../context';
|
2021-08-03 14:28:45 +00:00
|
|
|
|
2021-09-17 22:12:58 +00:00
|
|
|
import { SignalWindow } from '../configure';
|
2021-08-03 14:28:45 +00:00
|
|
|
|
2021-09-17 22:12:58 +00:00
|
|
|
contextBridge.exposeInMainWorld('SignalWindow', SignalWindow);
|