This is a basic Electron application, it needs just these files:
package.json
- Points to the app's main file and lists its details and dependencies.main.js
- Starts the app and creates a browser window to render HTML. This is the app's main process.index.html
- A web page to render. This is the app's renderer process.
To clone and run this repository you'll need Git and Node.js
# Clone this repository
git clone https://github.com/danilobatistaqueiroz/scheduler-electron.git
# Go into the repository
cd scheduler_electron
# Install dependencies
npm install
# Run the app
npm start
First, install electron-packager:
npm install electron-packager -g
or
npm install electron-packager --save-dev
execute from the root folder:
electron-packager .
https://github.com/electron-userland/electron-packager https://electronjs.org/docs/tutorial/application-distribution