This project was bootstrapped with Create React App, Electron, and Electron packager.
Clone the project
git clone https://github.com/megahoma/electron-react-app.gitGo to the project directory
cd electron-react-appInstall dependencies
npm installBoth processes have to be started simultaneously in different console tabs
npm run react:start
npm run electron:startThis will start the application with hot-reload so you can instantly start developing your application.
We use Electron packager to build and package the application. By default you can run the following to package for your current platform
npm run react:build
npx electron-packager . --no-prune --ignore=/node_modules --ignore=/e2e --overwrite --ignore=/src
--ignore=/publicFeel free to submit an issue or pull request anytime. If a change is made to the codebase with your PR, you'll be listed as a contributor.
