FluentReader/src/preload.ts
2020-06-30 19:15:37 +08:00

7 lines
246 B
TypeScript

import { contextBridge } from "electron"
import settingsBridge from "./bridges/settings"
import utilsBridge from "./bridges/utils"
contextBridge.exposeInMainWorld("settings", settingsBridge)
contextBridge.exposeInMainWorld("utils", utilsBridge)