simple-samples
simple-samples copied to clipboard
update electron version to v7
update electron version to v7 and fix some configuration and interface to fit it.
- In the latest version of electron, nodeIntegration is default false, hence setting nodeIntegration true to fit. Otherwise,
requireis prompted to be undefined. - In the renderer process, remote module is needed to access to screen module. Hence fix that in mirror demo.