зеркало из https://github.com/electron/electron.git
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:
Родитель
e53bd1b72a
Коммит
6db8d7918d
|
@ -1,5 +1,5 @@
|
|||
// 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')
|
||||
|
||||
let mainWindow;
|
||||
|
|
Загрузка…
Ссылка в новой задаче