docs: fix missing dependencies in ipc patterns (#33082)
This commit is contained in:
parent
a1c01ded9c
commit
0ff1727ec0
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
const {app, BrowserWindow, ipcMain,dialog} = require('electron')
|
||||
const {app, BrowserWindow, ipcMain, dialog} = require('electron')
|
||||
const path = require('path')
|
||||
|
||||
async function handleFileOpen() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const {app, BrowserWindow, Menu} = require('electron')
|
||||
const {app, BrowserWindow, Menu, ipcMain} = require('electron')
|
||||
const path = require('path')
|
||||
|
||||
function createWindow () {
|
||||
|
|
Loading…
Reference in a new issue