mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-10 15:21:03 +00:00
b4d1ee0d39
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. |
||
---|---|---|
.. | ||
inject | ||
src | ||
.eslintrc.yml | ||
.npmrc | ||
nativefier.json | ||
package.json |