Upgrade to Electron 6:

New version of Electron has enable by default sandbox
http://www.atom.pe/docs/api/sandbox-option/

There was some issues to migrate a new version of Electron for
MagicMirror. Using the new version in Travis CI was failing at this
time. The problem is because the testing runner is a Docker enviroment

The issue experimented is the same topic mentioned here:
 - https://github.com/electron/electron/issues/17972
 - https://github.com/electron-userland/spectron/issues/443

The fix for to all of this is to set the `--no-sandbox` mode in CI
testing https://electronjs.org/docs/all#--no-sandbox

This change use the feature to set and disable Sandbox using
by enviroment variable `ELECTRON_DISABLE_SANDBOX=1`
https://github.com/electron/electron/pull/16576

This change has reference #1800
This commit is contained in:
Rodrigo Ramírez Norambuena
2020-01-20 21:57:57 +00:00
parent 5bf90ae31d
commit a7ee2ef3a6
3 changed files with 1453 additions and 2075 deletions

3521
package-lock.json generated

File diff suppressed because it is too large Load Diff