Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.47 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.47 KB

Electron System Info App

This project is the result of my code-along at the end of the video Build an Electron App in Under 60 Minutes by Brad Traversy. His original code repo may be found here, which utilizes the Electron Packager Tutorial by Christian Engvall to create MacOS, Windows, and Linux executables with an app icon.


Versions Used

  • Node v9.4.0
  • Electron v1.7.10

Installing the Project

To install this project, perform the following tasks:

  1. Clone this repo: git clone https://github.com/Stanza987/electron-shoppinglist.git
  2. cd into the folder of the cloned repo
  3. Run yarn install to install dependencies
  4. Choose to run the electron app in development or production
    • Development
      • Comment out process.env.NODE_ENV = 'production' in main.js
      • Run yarn start
    • Production
      • Run yarn run package-win to build a Windows Executable
      • Run yarn run package-mac to build a MacOS Executable
      • Run yarn run package-linux to build a Linux Executable

Built-in scripts

  • yarn run package-***
    • Builds the electron app into an executable for Windows, MacOS, or Linux
  • yarn start
    • Opens the electron app with the command electron .