erisu opened a new pull request #175: URL: https://github.com/apache/cordova-electron/pull/175
### Motivation and Context * To create proper plugin support for Electron with Cordova's existing plugin system. * To use a more secure and reliable way for loading remote content with out node integration. Use of `contextIsolation` & `preload` ### Description * Added ICP handler for plugin communication in the main process. * API Change to pass plugin dir path to uninstall step for framework. * Added framework un/install support with necessary parser changes. * Added an exclusion to not overwrite the platform's installed `node_modules` and `package.json` * Updated the `exec` method to support he new electron implementation but keep the browser fallback when electron is missing. * Add the Cordova Electron's custom preload which is used to as a bridge between Cordova's `exec` & Electon's native `ipcRenderer`. * Updated `cordova.js`'s `exec` method to use the Cordova Electron's custom bridge. ### Testing * Built a project * Created a custom plugin for Electron. ### Checklist - [x] I've run the tests to see all new and existing tests pass - [x] I added/updated automated test coverage as appropriate for this change - [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct [keyword to close issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/)) - [ ] I've updated the documentation if necessary ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
