simple-samples icon indicating copy to clipboard operation
simple-samples copied to clipboard

update electron version to v7

Open jameslahm opened this issue 5 years ago • 0 comments

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, require is prompted to be undefined.
  • In the renderer process, remote module is needed to access to screen module. Hence fix that in mirror demo.

jameslahm avatar Mar 24 '20 01:03 jameslahm