Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to use Electron 12.0.12 #579

Merged
merged 3 commits into from Jul 1, 2021
Merged

Upgrade to use Electron 12.0.12 #579

merged 3 commits into from Jul 1, 2021

Conversation

tub5
Copy link
Contributor

@tub5 tub5 commented Jun 28, 2021

Upgrade the ElectronNET.CLI to use Electron v12.0.12 to prevent crashing when the auto update feature is used.

Resolves #578

…ctron v12 WebPreferences.contextIsolation defaults to true… this means that window.require() will no longer function"
@theolivenbaum
Copy link

Something I noticed while testing: Electron 12 has a breaking change with the default value for NodeIntegration and ContextIsolation, this change fixes the default values (but will be a breaking change for Electron.NET)

@danatcofo
Copy link
Contributor

@theolivenbaum if you look at the api script around creating browser windows. it forces nodeIntegration to true regardless of the setting in the c# code. Only the contextIsolation is pertinent here as towards breaking changes.

@theolivenbaum
Copy link

theolivenbaum commented Jun 29, 2021

(edited as I misread your comment)
Good point, I'll test locally if only the context isolation was missing being set correctly!

@nazar322
Copy link

nazar322 commented Jul 1, 2021

I have this issue as well. Waiting for the next release containing this fix. Thanks!

@GregorBiswanger GregorBiswanger self-assigned this Jul 1, 2021
@GregorBiswanger GregorBiswanger added this to the 13.5.1 milestone Jul 1, 2021
@GregorBiswanger GregorBiswanger merged commit 305544a into ElectronNET:master Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Breaking change in electron-updater caused by using Electron 11
5 participants