This project is archived, which means that it's in read-only state; you can download and use this code, but please be aware that it may be buggy and may also contain security vulnerabilities. If you're interested to restore development activities on this project, please email [email protected].
ChartIQ's Secure Electron Adapter provides an easy way to create an Electron application that adheres to Electron's own security recommendations by design.
npm install secure-electron-adapter --save
See sea-quick-start for example usage.
- Open Chrome and navigate to
chrome://inspect
- Click "Open Dedicated Devtools for Node"
- Select "Add connection" under the Connection tab
- Enter
localhost:5858
(the port can be found in the sea package.json in the startbrk section under the flag --inspect-brk) - Under the Sources tab, click on the Node subheading to see the sources list.
- index.js is the file that will run in the deployed Electron application.
- exports.js is a collection of files that you would traditionally assume is exported by a node module.
- src/Main is code that runs inside of Main process of Electron.
- src/Render is code that runs inside of the browser.
- Fork it (https://github.com/finos/secure-electron-adapter/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Read our contribution guidelines and Community Code of Conduct
- Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
NOTE: Commits and pull requests to FINOS repositories will only be accepted from those contributors with an active, executed Individual Contributor License Agreement (ICLA) with FINOS OR who are covered under an existing and active Corporate Contribution License Agreement (CCLA) executed with FINOS. Commits from individuals not covered under an ICLA or CCLA will be flagged and blocked by the FINOS Clabot tool. Please note that some CCLAs require individuals/employees to be explicitly named on the CCLA.
Need an ICLA? Unsure if you are covered under an existing CCLA? Email [email protected]
Copyright 2018 ChartIQ
Distributed under the Apache License, Version 2.0.
SPDX-License-Identifier: Apache-2.0