fix: dialog is not defined (#31180)
Corrects the following error in Electron Fiddle: ``` Uncaught Exception: ReferenceError: dialog is not defined ... ```
This commit is contained in:
parent
e53bd1b72a
commit
6db8d7918d
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
// Modules to control application life and create native browser window
|
// Modules to control application life and create native browser window
|
||||||
const { app, BrowserWindow, ipcMain, shell } = require('electron')
|
const { app, BrowserWindow, ipcMain, shell, dialog } = require('electron')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
let mainWindow;
|
let mainWindow;
|
||||||
|
|
Loading…
Reference in a new issue