Skip to content

experiments with electron to see if we could use this within EASY

Notifications You must be signed in to change notification settings

jo-pol/electron-experiments

 
 

Repository files navigation

Used tutorials

Set up Electron App

  • (assumption: npm is already installed)
  • npm init and work through the Q&A
    • for entrypoint use main.js
  • npm install -g electron
  • npm install --save electron
  • in package.json replace script.test with "start": "electron ." (with this you can start the application while developing with npm start rather than electron .)
  • create the main.js and index.html (or however you wanna call this html file) files

Styling

Toggle between production and development

  • in main.js we set the developer tools and reload functionality only if the environment is not in production, see the Add developer tools item if not in production comment
  • in main.js we can set the environment variable, see the SET ENV comment

Install/release the application

About

experiments with electron to see if we could use this within EASY

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.7%
  • TypeScript 29.5%
  • HTML 11.3%
  • Ruby 1.3%
  • CSS 0.2%