signal-desktop/ts/context/config.ts

11 lines
283 B
TypeScript
Raw Normal View History

2023-03-14 15:55:31 +00:00
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2023-04-07 16:42:12 +00:00
import { ipcRenderer } from 'electron';
2023-03-14 15:55:31 +00:00
import type { RendererConfigType } from '../types/RendererConfig';
2023-04-07 16:42:12 +00:00
const config: RendererConfigType = ipcRenderer.sendSync('get-config');
2023-03-14 15:55:31 +00:00
export { config };