UNPKG

automate-electron-ipc

Version:

Node library for automating the generation of IPC components for Electron apps.

27 lines (26 loc) 740 B
/* * Apache License 2.0 * * Copyright (c) 2024, Mattias Aabmets * * The contents of this file are subject to the terms and conditions defined in the License. * You may not use, modify, or distribute this file except in compliance with the License. * * SPDX-License-Identifier: Apache-2.0 */ import logger from "./logger.js"; export function Channel() { return { RendererToMain: { Unicast: logger.cannotExecuteChannels, Broadcast: logger.cannotExecuteChannels, }, MainToRenderer: { Broadcast: logger.cannotExecuteChannels, }, RendererToRenderer: { Port: logger.cannotExecuteChannels, }, }; } export const type = null;