feature: support custom scheme & hostname (#154)

* feature: support custom scheme & hostname
* chore: apply suggestions from code review
* chore: ignore standard/no-callback-literal for Electron main js
* chore: remove cb prefix and remove error cb to fix ProtocolDeprecateCallback

Co-authored-by: Tim Brust <github@timbrust.de>
6 files changed
tree: ee45d12efb523b80a9fb6774c283a90c86d14ccc
  1. .github/
  2. .npm-scripts/
  3. bin/
  4. cordova-js-src/
  5. cordova-lib/
  6. lib/
  7. tests/
  8. .asf.yaml
  9. .eslintignore
  10. .eslintrc.yml
  11. .gitattributes
  12. .gitignore
  13. .npmignore
  14. CONTRIBUTING.md
  15. DOCUMENTATION.md
  16. LICENSE
  17. NOTICE
  18. package-lock.json
  19. package.json
  20. README.md
  21. RELEASENOTES.md
  22. VERSION
README.md

Cordova Electron

Electron is a framework that uses web technologies (HTML, CSS, and JS) to build cross-platform desktop applications.

Platform Objectives

  • Build Desktop Applications (Linux, macOS, and Windows)
  • Sign Applications for Release

Usage

Cordova CLI

$ npm install -g cordova@latest
$ cordova create helloworld
$ cd helloworld
$ cordova platform add electron
$ cordova run electron

Documentation

For more documentation, please refer to the DOCUMENTATION.md file.

Contributions

The Apache Cordova team would like to thank Ibby Hadeed for transferring the cordova-electron npm package name to Apache Cordova. Thanks!