-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
v8 #336
base: master
Are you sure you want to change the base?
v8 #336
Conversation
"In Electron 12, contextIsolation will be enabled by default. To restore the previous behavior, contextIsolation: false must be specified in WebPreferences." "Another implication is that require() cannot be used in the renderer process unless nodeIntegration is true and contextIsolation is false." https://github.com/electron/electron/blob/main/docs/breaking-changes.md#default-changed-contextisolation-defaults-to-true
"Fix compatibility with Electron 12 (and remove use of electron.remote)" https://github.com/sindresorhus/electron-store/releases/tag/v7.0.0
"In Electron 9, using the remote module without explicitly enabling it via the enableRemoteModule WebPreferences option began emitting a warning. In Electron 10, the remote module is now disabled by default. To use the remote module, enableRemoteModule: true must be specified in WebPreferences:" https://github.com/electron/electron/blob/main/docs/breaking-changes.md#default-changed-enableremotemodule-defaults-to-false if migrating to larger versions, in particular for electron-store@2 see the following links https://stackoverflow.com/questions/55850616/uncaught-referenceerror-module-is-not-defined-on-delete-module-exports electron/remote#79 https://github.com/electron/remote/blob/main/docs/migration-2.md
migrated according to the migration guide: https://github.com/electron/remote/blob/main/docs/migration-2.md "To migrate from @electron/[email protected] to @electron/[email protected], replace all usages of the enableRemoteModule: true WebPreference by a call to enable()." ``` // Before (@electron/[email protected]) const win = new BrowserWindow({ webPreferences: { enableRemoteModule: true } }) // After (@electron/[email protected]) const remoteMain = require("@electron/remote/main") remoteMain.initialize() const win = new BrowserWindow() remoteMain.enable(win.webContents) ```
more thanks to internet slouths & strangers: https://stackoverflow.com/questions/36637201/requiring-electron-dialog-from-render-process-is-undefined
also swap out `node-sass` for `sass` library to fix the build
It'll be great to have this merged into master and have that cabal-client fix go live -- thanks Nick! 🖤 |
Oh, @nikolaiwarner do you know how to get notorization working again? |
#- linux | ||
#- windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#- linux | |
#- windows | |
- linux | |
- windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these were turned off 'cause we were focusing on debugging OSX builds :)
hi! i bumped cabal-client to the latest. ok if we merge all of this branch and then i'll make a release?