Closed titieo closed 3 years ago
I have the same problem
I have the same problem after upgrading electron
from version 12.0.5
to 14.0.1
.
Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
Policy set or a policy with "unsafe-eval" enabled. This exposes users of
this app to unnecessary security risks.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
Uncaught TypeError: Cannot read properties of undefined (reading 'app')
at EventEmitter.<anonymous> (renderer.ts:5)
at EventEmitter.emit (events.js:376)
at Object.onMessage (electron/js2c/renderer_init.js:81)
you can try to use my fork:
yarn add @nosferatu500/about-window
npm install @nosferatu500/about-window
Based on Electron 14
Seems to be fixed for me via https://github.com/rhysd/electron-about-window/releases/tag/v1.15.0 👍🏻 Successfully tested with Electron 14 and 15.
Thank you for confirming that. Closing.
Hi, there. Thanks for creating such a good package. I've run to problem while trying to make this work in my project (I'm using electron-forge and its webpack plugin) My repo can be found on Github My config files for about-window is here Here is my problem: