You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm new to Electron and just discovered the fiddle. I was messing around with the "Show Me" examples a bit, and I noticed that the Shell example does not work. It appears that the const { shell } = require('electron') in preload.js does not work, as shell stays undefined:
Hi,
I'm new to Electron and just discovered the fiddle. I was messing around with the "Show Me" examples a bit, and I noticed that the Shell example does not work. It appears that the
const { shell } = require('electron')
in preload.js does not work, asshell
staysundefined
:I've tried this with the latest minor versions of Electron 25, 26 and 27, and all had the same behaviour.
Now as I said, I'm new to this, so I'm not 100% sure if this is a broken example, or if it actually should work as is and there is some other problem.
The text was updated successfully, but these errors were encountered: