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

ShowReel not working with modern version of electron #38

Open
jlgerber opened this issue May 22, 2019 · 1 comment
Open

ShowReel not working with modern version of electron #38

jlgerber opened this issue May 22, 2019 · 1 comment

Comments

@jlgerber
Copy link

jlgerber commented May 22, 2019

Electron changed their nodeIntegration default, leading app.js erroring with something like "Require not found".

The fix is simple

In main.js add nodeIntegration: true, to BrowserWindow.webPreferences

The webPreferences object also has to be be added to app.js Photon.Dialog(,{})

@alexchandel
Copy link
Contributor

Fixed in #41, please close

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

No branches or pull requests

2 participants