Skip to content

Instantly share code, notes, and snippets.

@dok
Created May 11, 2017 13:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dok/2d896b7bf198512b0449b64c0f5f22a4 to your computer and use it in GitHub Desktop.
Save dok/2d896b7bf198512b0449b64c0f5f22a4 to your computer and use it in GitHub Desktop.

electron

author electron github electron electron docs awesome-electron electron-react-boilerplate

what is electron

  • definition
    • runtime: electron app.js
  • meta
    • by zcbenz
    • it's been one year since v1.0.0 (may 2016)

how does it work?

  • c++
  • node.js + chromium

e

basic use

  • storing data
  • communicating between main vs renderer
  • packaging
  • updating the app
    • versioning

electron-react-boilerplate

  • file structure
  • what happens when packaging

abt

  • about
  • what it does
  • running code
  • exporting code
  • size of app

gotcha's

  • node APIs are not what you think they are
    • beware of asar
    • root paths
  • know what your boilerplate is doing for you
  • security

resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment