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:
- Clone this repo:
git clone https://github.com/Stanza987/electron-shoppinglist.git
cd
into the folder of the cloned repo- Run
yarn install
to install dependencies - Choose to run the electron app in development or production
- Development
- Comment out
process.env.NODE_ENV = 'production'
inmain.js
- Run
yarn start
- Comment out
- 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
- Run
- Development
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 .
- Opens the electron app with the command