Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Explicitly set contextIsolation to false #2789

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bongnv
Copy link

@bongnv bongnv commented Oct 7, 2022

Please be sure to read the contributor's guide to the GitHub package before submitting any pull requests.

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.

Description of the Change

Since Electron 12, the default of contextIsolation is changed to true from false so we'll have to set it to false. Otherwise, Node APIs won't be used in renderer processes.

See electron/electron#23506 for more information.

Screenshot or Gif

N/A

Applicable Issues

N/A

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.

None yet

1 participant