haitop/src/preload/index.ts

5 lines
146 B
TypeScript
Raw Normal View History

2023-04-04 00:41:52 +02:00
import { ipcRenderer } from "electron";
import { GET_PRELOAD_FILE } from "../shared/IpcEvents";
2023-03-31 01:21:06 +02:00
2023-04-04 00:41:52 +02:00
require(ipcRenderer.sendSync(GET_PRELOAD_FILE));