13 lines
332 B
JavaScript
13 lines
332 B
JavaScript
import {ipcRenderer as IPC, shell} from "electron";
|
|
|
|
export const ipcRenderer = {
|
|
send: IPC.send.bind(IPC),
|
|
sendToHost: IPC.sendToHost.bind(IPC),
|
|
sendTo: IPC.sendTo.bind(IPC),
|
|
sendSync: IPC.sendSync.bind(IPC),
|
|
invoke: IPC.invoke.bind(IPC),
|
|
on: IPC.on.bind(IPC),
|
|
off: IPC.off.bind(IPC)
|
|
};
|
|
|
|
export {shell}; |