2019-08-23 22:45:50 +00:00
|
|
|
import { IpcMainImpl } from '@electron/internal/browser/ipc-main-impl'
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2019-08-23 22:45:50 +00:00
|
|
|
const ipcMain = new IpcMainImpl()
|
2016-07-24 12:08:25 +00:00
|
|
|
|
|
|
|
// Do not throw exception when channel name is "error".
|
2019-05-31 17:25:19 +00:00
|
|
|
ipcMain.on('error', () => {})
|
2016-12-01 22:43:30 +00:00
|
|
|
|
2019-05-31 17:25:19 +00:00
|
|
|
export default ipcMain
|