Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Fixes for Electron 5 and 6 #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixes for Electron 5 and 6 #40

wants to merge 1 commit into from

Conversation

rdb
Copy link

@rdb rdb commented Apr 24, 2020

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.

@rdb rdb mentioned this pull request Apr 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant