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