UNPKG

newlogic

Version:

Circuit Builder Desktop Application (like mmlogic) made with Electron + React Typescript. Compatible with Windows, Mac and Linux.

13 lines (10 loc) 233 B
import { ipcRenderer } from 'electron'; export function Exit() { ipcRenderer.send("exit"); } export function Reload() { window.location.reload(); } export function Open(file: string) { ipcRenderer.send("open", file); }