2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-26 15:14:07 +00:00
nativefier/app/src
Alex D'Andrea b4d1ee0d39 Restore login functionality broken since Electron 5.x (PR #826)
nodeIntegration is required if eg. Javascript code makes use of the
`require` expression to import classes into the current scope. login.js
uses an electron import - without it, the callback mechanism does not
work, and thus the whole login functionality.

Electron seems to have changed the default value for a windows `nodeIntegration` to `false` since version 5 (see https://stackoverflow.com/questions/55093700/electron-5-0-0-uncaught-referenceerror-require-is-not-defined)

Without the integration, the login component's functionality is broken, though. This PR enables the nodeIntegration feature for the login window and makes it properly propagate the given credentials.

Tested with Electron 6.0.0 on Linux.
2019-08-22 21:41:37 +02:00
..
components Restore login functionality broken since Electron 5.x (PR #826) 2019-08-22 21:41:37 +02:00
helpers Fix #610 - Make the counter regexp allow punctuation (#626) 2018-05-28 08:14:54 -04:00
static Fix CSS & JavaScript injection (Fixes #703, Fixes #731, PR #732) 2019-01-01 23:38:45 -05:00
main.js Squirrel: resolve .quit() issue with missing ../screen (PR #784) 2019-04-19 13:21:36 -04:00