docs: fix missing dependencies in ipc patterns (#33082)

This commit is contained in:
Chuion 2022-03-08 06:04:58 +08:00 committed by GitHub
parent a1c01ded9c
commit 0ff1727ec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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() {

View file

@ -1,4 +1,4 @@
const {app, BrowserWindow, Menu} = require('electron')
const {app, BrowserWindow, Menu, ipcMain} = require('electron')
const path = require('path')
function createWindow () {