2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-18 03:42:20 +00:00
nativefier/app
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
..
inject Fix bug where css is always injected 2016-02-25 15:25:14 +08:00
src Restore login functionality broken since Electron 5.x (PR #826) 2019-08-22 21:41:37 +02:00
.eslintrc.yml Update eslint and use Airbnb style 2017-04-29 22:52:12 +08:00
.npmrc Upgrade dependencies and default to latest Electron 1.7.9 (PR #483) 2017-11-14 08:05:01 -05:00
nativefier.json Fix placeholder for electron app to google 2016-05-26 16:50:42 +08:00
package.json Support packaging nativefier applications into Squirrel-based installers (#744) 2019-02-08 09:57:32 -05:00