Electron 5 defaults nodeIntegration and webviewTag to false, so this is needed for require() and the webview tag to work.
Electron 6 replaces the callback argument to showOpenDialog with a returned promise, so this is needed to restore functionality to the create/open dialogs. However, this breaks running with older Electron versions.
Electron 5 defaults nodeIntegration and webviewTag to false, so this is needed for require() and the webview tag to work.
Electron 6 replaces the callback argument to showOpenDialog with a returned promise, so this is needed to restore functionality to the create/open dialogs. However, this breaks running with older Electron versions.